Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 47.92 kB / 365.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001646/0.1041, allocations: 0.5062 MB / 418.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1061, allocations: 1.391 MB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1061, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.1061, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.1061, allocations: 3.938 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.1068, allocations: 174.7 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.1068, allocations: 19.86 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.1069, allocations: 12 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.1069, allocations: 7.984 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.107, allocations: 7.938 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.107, allocations: 4 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1073, allocations: 163.8 kB / 420 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.1073, allocations: 7.969 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.1073, allocations: 8 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1075, allocations: 115.7 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1075, allocations: 4 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1075, allocations: 0 / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1075, allocations: 0 / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004053/0.1079, allocations: 347.3 kB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.108, allocations: 8.031 kB / 420.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.108, allocations: 38.69 kB / 420.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.1081, allocations: 12.89 kB / 420.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1082, allocations: 160.4 kB / 420.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1082, allocations: 384 / 420.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1082, allocations: 11.88 kB / 420.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1083, allocations: 37.62 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1083, allocations: 0 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1083, allocations: 0 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1083, allocations: 0 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.1084, allocations: 0 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1088, allocations: 481 kB / 421.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.109, allocations: 177.1 kB / 421.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.109, allocations: 80.14 kB / 421.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.109, allocations: 79.27 kB / 421.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.1091, allocations: 109.8 kB / 421.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1091, allocations: 0 / 421.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.649e-05/0.1092, allocations: 29.7 kB / 421.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.1093, allocations: 152.4 kB / 421.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1094, allocations: 109.8 kB / 422 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1094, allocations: 29.64 kB / 422 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.1095, allocations: 88.09 kB / 422.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1095, allocations: 0 / 422.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1095, allocations: 25.7 kB / 422.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1097, allocations: 314.8 kB / 422.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.1097, allocations: 4 kB / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.1097, allocations: 0 / 422.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1097, allocations: 8.859 kB / 422.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1097, allocations: 0 / 422.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001147/0.1098, allocations: 41.69 kB / 422.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1099, allocations: 8.125 kB / 422.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1099, allocations: 0 / 422.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1099, allocations: 0 / 422.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.1099, allocations: 7.938 kB / 422.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1099, allocations: 0 / 422.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.11, allocations: 256 / 422.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.11, allocations: 4 kB / 422.5 MB, free: 7.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1101, allocations: 185.1 kB / 422.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.1102, allocations: 116.9 kB / 422.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.1103, allocations: 112.5 kB / 422.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.271e-05/0.1104, allocations: 180.2 kB / 423.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.912e-05/0.1105, allocations: 180.2 kB / 423.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.167e-05/0.1105, allocations: 192.3 kB / 423.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1108, allocations: 413.1 kB / 423.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-05/0.1109, allocations: 108.9 kB / 423.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.1109, allocations: 101 kB / 424 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.921e-05/0.111, allocations: 176.3 kB / 424.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/0.1111, allocations: 180.2 kB / 424.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.521e-05/0.1112, allocations: 184.3 kB / 424.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-05/0.1112, allocations: 192.2 kB / 424.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1114, allocations: 299.8 kB / 425.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.1115, allocations: 186 kB / 425.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.1116, allocations: 184.2 kB / 425.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1117, allocations: 104.9 kB / 425.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.1118, allocations: 180.3 kB / 425.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.1119, allocations: 105 kB / 425.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.1119, allocations: 87.27 kB / 425.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1119, allocations: 0 / 425.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1122, allocations: 43.81 kB / 425.9 MB, free: 3.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008278/0.1131, allocations: 0.879 MB / 426.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.1131, allocations: 7.984 kB / 426.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1131, allocations: 3.938 kB / 426.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.1131, allocations: 8 kB / 426.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1136, allocations: 459.7 kB / 427.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.114, allocations: 205.8 kB / 427.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1143, allocations: 0.6766 MB / 428.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1144, allocations: 19.97 kB / 428.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.1144, allocations: 11.44 kB / 428.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1144, allocations: 3.938 kB / 428.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1373, allocations: 1.824 MB / 430 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.165, allocations: 14.42 kB / 430 MB, free: 15.92 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.628044156357646]