Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 51.92 kB / 342.3 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09166, allocations: 49.13 MB / 391.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003546/0.09521, allocations: 2.267 MB / 393.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.09648, allocations: 0.7884 MB / 394.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.09652, allocations: 0 / 394.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.0966, allocations: 8 kB / 394.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.0967, allocations: 7.938 kB / 394.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.09731, allocations: 219.6 kB / 394.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.09738, allocations: 15.94 kB / 394.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.09743, allocations: 7.984 kB / 394.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.09747, allocations: 11.92 kB / 394.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.09754, allocations: 15.98 kB / 394.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.09755, allocations: 0 / 394.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.09784, allocations: 179.8 kB / 394.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.09786, allocations: 11.91 kB / 394.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.09788, allocations: 11.94 kB / 394.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.09812, allocations: 115.8 kB / 395.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09813, allocations: 7.938 kB / 395.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09813, allocations: 4 kB / 395.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.09813, allocations: 3.938 kB / 395.1 MB, free: 5.148 MB / 318.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.0004074/0.09854, allocations: 359.1 kB / 395.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.09858, allocations: 8.031 kB / 395.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.09862, allocations: 30.75 kB / 395.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.09866, allocations: 8.891 kB / 395.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.0988, allocations: 168.4 kB / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.09881, allocations: 384 / 395.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.09882, allocations: 8.375 kB / 395.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.623e-05/0.09892, allocations: 37.81 kB / 395.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.09893, allocations: 3.984 kB / 395.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.09894, allocations: 0 / 395.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.09894, allocations: 0 / 395.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.09897, allocations: 7.938 kB / 395.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.09936, allocations: 400 kB / 396.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.09945, allocations: 169.1 kB / 396.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.09949, allocations: 80.14 kB / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.09952, allocations: 75.28 kB / 396.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.09958, allocations: 109.8 kB / 396.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.09958, allocations: 0 / 396.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 8.891e-05/0.09967, allocations: 41.59 kB / 396.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.09976, allocations: 152.4 kB / 396.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.09988, allocations: 117.8 kB / 396.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.0999, allocations: 29.7 kB / 396.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.09997, allocations: 84.14 kB / 396.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.09997, allocations: 0 / 396.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1, allocations: 13.72 kB / 396.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1001, allocations: 318.8 kB / 397.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.1002, allocations: 8 kB / 397.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.1002, allocations: 8 kB / 397.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.1002, allocations: 8.797 kB / 397.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1002, allocations: 7.938 kB / 397.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.1003, allocations: 45.64 kB / 397.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1004, allocations: 7.938 kB / 397.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1004, allocations: 0 / 397.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1004, allocations: 0 / 397.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.1004, allocations: 8.125 kB / 397.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1004, allocations: 4.312 kB / 397.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.1005, allocations: 0 / 397.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1005, allocations: 0 / 397.3 MB, free: 2.633 MB / 318.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.0001125/0.1006, allocations: 193 kB / 397.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.1007, allocations: 104.9 kB / 397.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.1007, allocations: 108.5 kB / 397.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.494e-05/0.1008, allocations: 184.3 kB / 397.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.977e-05/0.1009, allocations: 180.2 kB / 398.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.693e-05/0.101, allocations: 184.2 kB / 398.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1013, allocations: 409.1 kB / 398.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/0.1013, allocations: 105 kB / 398.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.1013, allocations: 101 kB / 398.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.547e-05/0.1014, allocations: 184.2 kB / 399.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.1015, allocations: 184.3 kB / 399.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.703e-05/0.1016, allocations: 192.2 kB / 399.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.541e-05/0.1016, allocations: 176.3 kB / 399.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.1018, allocations: 307.7 kB / 399.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1019, allocations: 190 kB / 400.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.102, allocations: 184.2 kB / 400.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1021, allocations: 101 kB / 400.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.1022, allocations: 180.2 kB / 400.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.1023, allocations: 109 kB / 400.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.1023, allocations: 95.27 kB / 400.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1023, allocations: 0 / 400.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1026, allocations: 43.86 kB / 400.8 MB, free: 14.96 MB / 334.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.000962/0.1036, allocations: 0.898 MB / 401.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.262e-05/0.1037, allocations: 8 kB / 401.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1037, allocations: 0 / 401.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-06/0.1037, allocations: 12 kB / 401.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1041, allocations: 451.7 kB / 402.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1052, allocations: 1.345 MB / 403.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1055, allocations: 0.6806 MB / 404.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.1055, allocations: 7.984 kB / 404.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1056, allocations: 15.44 kB / 404.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1056, allocations: 0 / 404.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1313, allocations: 2.089 MB / 406.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/7.868, allocations: 12.98 kB / 406.3 MB, free: 9.27 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.191269875009311]