Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.001325/0.001325, allocations: 76.91 kB / 21.25 MB, free: 0.5391 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.001483/0.001483, allocations: 159.5 kB / 24.51 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 52.3 kB / 325.6 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08928, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002738/0.09202, allocations: 1.339 MB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.09765, allocations: 3.736 MB / 384 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.09769, allocations: 0 / 384 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.09771, allocations: 7.922 kB / 384 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.09882, allocations: 294.9 kB / 384.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1001, allocations: 0.5215 MB / 384.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1002, allocations: 55.66 kB / 384.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.1002, allocations: 4 kB / 384.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1003, allocations: 35.84 kB / 384.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.1011, allocations: 367.3 kB / 385.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1011, allocations: 4 kB / 385.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.1021, allocations: 0.5341 MB / 385.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.1021, allocations: 11.98 kB / 385.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.1022, allocations: 23.86 kB / 385.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.103, allocations: 434.9 kB / 386.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.103, allocations: 0 / 386.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.103, allocations: 3.938 kB / 386.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.103, allocations: 0 / 386.2 MB, free: 8.422 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005635/0.1036, allocations: 373.3 kB / 386.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1036, allocations: 8.031 kB / 386.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1036, allocations: 4.938 kB / 386.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1038, allocations: 134.3 kB / 386.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1039, allocations: 384 / 386.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1039, allocations: 15.94 kB / 386.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.104, allocations: 59.39 kB / 386.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.104, allocations: 0 / 386.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.104, allocations: 4 kB / 386.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1041, allocations: 0 / 386.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.1041, allocations: 23.92 kB / 386.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1043, allocations: 118.3 kB / 387 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1046, allocations: 77.12 kB / 387 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.1047, allocations: 25.77 kB / 387.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.105, allocations: 127.8 kB / 387.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1051, allocations: 30.56 kB / 387.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1051, allocations: 0 / 387.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002957/0.1054, allocations: 89.67 kB / 387.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.1054, allocations: 81.11 kB / 387.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.1055, allocations: 105.8 kB / 387.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1055, allocations: 29.7 kB / 387.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.1056, allocations: 88.12 kB / 387.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1056, allocations: 23.84 kB / 387.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1057, allocations: 25.7 kB / 387.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1058, allocations: 318.8 kB / 388 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.1059, allocations: 11.98 kB / 388 MB, free: 6.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.106, allocations: 39.36 kB / 388 MB, free: 6.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1061, allocations: 63.36 kB / 388.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1061, allocations: 0 / 388.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002025/0.1063, allocations: 89.5 kB / 388.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1063, allocations: 7.984 kB / 388.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1063, allocations: 0 / 388.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1063, allocations: 4 kB / 388.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.1064, allocations: 12 kB / 388.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1064, allocations: 480 / 388.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.1065, allocations: 11.92 kB / 388.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1065, allocations: 4 kB / 388.2 MB, free: 6.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 8.779e-05/0.1066, allocations: 113.8 kB / 388.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1066, allocations: 15.95 kB / 388.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.1069, allocations: 124.8 kB / 388.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1069, allocations: 3.938 kB / 388.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1069, allocations: 4 kB / 388.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.107, allocations: 3.984 kB / 388.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1071, allocations: 109.3 kB / 388.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1071, allocations: 4 kB / 388.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.1072, allocations: 11.98 kB / 388.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1072, allocations: 7.938 kB / 388.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1072, allocations: 8 kB / 388.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1072, allocations: 3.938 kB / 388.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1072, allocations: 0 / 388.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1075, allocations: 157.9 kB / 388.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.1075, allocations: 20.27 kB / 388.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1075, allocations: 4 kB / 388.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.1076, allocations: 0 / 388.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1076, allocations: 7.984 kB / 388.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1076, allocations: 8.062 kB / 388.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.1077, allocations: 91.27 kB / 388.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1077, allocations: 0 / 388.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.1081, allocations: 135.5 kB / 389 MB, free: 5.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005052/0.1086, allocations: 282.5 kB / 389.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1088, allocations: 47.91 kB / 389.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1088, allocations: 0 / 389.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.1089, allocations: 27.97 kB / 389.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.1091, allocations: 11.31 kB / 389.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.1096, allocations: 294.9 kB / 389.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.1097, allocations: 72 kB / 389.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.923e-05/0.1098, allocations: 35.41 kB / 389.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1098, allocations: 20.48 kB / 389.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1098, allocations: 0 / 389.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Templates: time 0.007132/0.117, allocations: 3.081 MB / 392.9 MB, free: 1.484 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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: 4.310096009983681]