Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001829/0.001829, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.002148/0.002148, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.444/1.444, allocations: 222.9 MB / 247 MB, free: 4.312 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 51.92 kB / 358.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1048, allocations: 49.43 MB / 408.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002782/0.1077, allocations: 1.364 MB / 409.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3621/0.4698, allocations: 148.7 MB / 0.5451 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.4699, allocations: 0 / 0.5451 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.47, allocations: 7.938 kB / 0.5451 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009902/0.471, allocations: 235.6 kB / 0.5453 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4721, allocations: 392.8 kB / 0.5457 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.4723, allocations: 63.66 kB / 0.5458 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.4723, allocations: 7.984 kB / 0.5458 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.4724, allocations: 19.94 kB / 0.5458 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.4725, allocations: 35.84 kB / 0.5458 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.4725, allocations: 0 / 0.5458 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.4738, allocations: 0.6697 MB / 0.5465 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.4738, allocations: 8 kB / 0.5465 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.4739, allocations: 23.84 kB / 0.5465 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.4747, allocations: 492 kB / 0.547 GB, free: 2.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4747, allocations: 0 / 0.547 GB, free: 2.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4747, allocations: 7.938 kB / 0.547 GB, free: 2.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4748, allocations: 0 / 0.547 GB, free: 2.383 MB / 446.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.00062/0.4754, allocations: 436.5 kB / 0.5474 GB, free: 1.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4754, allocations: 11.97 kB / 0.5474 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.4765, allocations: 96.75 kB / 0.5475 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.4768, allocations: 212.1 kB / 0.5477 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4768, allocations: 0 / 0.5477 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.4769, allocations: 11.95 kB / 0.5477 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.4771, allocations: 95.31 kB / 0.5478 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4772, allocations: 0 / 0.5478 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4772, allocations: 5.594 kB / 0.5478 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4772, allocations: 0 / 0.5478 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.4774, allocations: 47.89 kB / 0.5479 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.4777, allocations: 203.5 kB / 0.5481 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.4782, allocations: 129.1 kB / 0.5482 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4783, allocations: 37.75 kB / 0.5482 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/0.4791, allocations: 0.9939 MB / 0.5492 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4791, allocations: 38.56 kB / 0.5492 GB, free: 15.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4791, allocations: 0 / 0.5492 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005/0.4796, allocations: 129.5 kB / 0.5493 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4797, allocations: 81.11 kB / 0.5494 GB, free: 15.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4799, allocations: 153.8 kB / 0.5496 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4799, allocations: 25.7 kB / 0.5496 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.48, allocations: 92.12 kB / 0.5497 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.48, allocations: 19.8 kB / 0.5497 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.4801, allocations: 33.69 kB / 0.5497 GB, free: 15.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4802, allocations: 318.8 kB / 0.55 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4804, allocations: 31.44 kB / 0.5501 GB, free: 14.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4805, allocations: 55.34 kB / 0.5501 GB, free: 14.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4807, allocations: 83.77 kB / 0.5502 GB, free: 14.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4807, allocations: 0 / 0.5502 GB, free: 14.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003388/0.4811, allocations: 121.5 kB / 0.5503 GB, free: 14.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4811, allocations: 4 kB / 0.5503 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4811, allocations: 4.062 kB / 0.5503 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4812, allocations: 4 kB / 0.5503 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4813, allocations: 27.97 kB / 0.5504 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4813, allocations: 0.5 kB / 0.5504 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.4815, allocations: 11.94 kB / 0.5504 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4815, allocations: 8 kB / 0.5504 GB, free: 14.43 MB / 462.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 9.447e-05/0.4816, allocations: 125.6 kB / 0.5505 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4817, allocations: 0 / 0.5505 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.4823, allocations: 243 kB / 0.5507 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4823, allocations: 4 kB / 0.5507 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4823, allocations: 0 / 0.5507 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4823, allocations: 0 / 0.5507 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4826, allocations: 223.6 kB / 0.5509 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4826, allocations: 4 kB / 0.5509 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4827, allocations: 19.97 kB / 0.551 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4828, allocations: 4 kB / 0.551 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4828, allocations: 7.984 kB / 0.551 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4828, allocations: 7.625 kB / 0.551 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4828, allocations: 0 / 0.551 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.4832, allocations: 177.8 kB / 0.5512 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.4833, allocations: 97.06 kB / 0.5512 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.4834, allocations: 0 / 0.5512 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.4835, allocations: 11.94 kB / 0.5513 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4836, allocations: 7.984 kB / 0.5513 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4836, allocations: 9.859 kB / 0.5513 GB, free: 13.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.4838, allocations: 127.2 kB / 0.5514 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4838, allocations: 3.938 kB / 0.5514 GB, free: 13.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005108/0.4843, allocations: 139.6 kB / 0.5515 GB, free: 13.15 MB / 462.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 (8): * Single equations (assignments): 7 * 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.0007812/0.4851, allocations: 313.2 kB / 0.5518 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4854, allocations: 79.81 kB / 0.5519 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4854, allocations: 0 / 0.5519 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.4856, allocations: 48.03 kB / 0.552 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.4858, allocations: 10.12 kB / 0.552 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.4864, allocations: 328.4 kB / 0.5523 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.4867, allocations: 0.6924 MB / 0.553 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4868, allocations: 43.33 kB / 0.553 GB, free: 11.6 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4868, allocations: 0 / 0.553 GB, free: 11.6 MB / 462.1 MB Notification: Performance of Templates: time 0.007138/0.494, allocations: 4.14 MB / 0.557 GB, free: 7.461 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_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: 7.618861815077253]