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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001313, allocations: 110.4 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009357/0.0009357, allocations: 39.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2477, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00229/0.25, allocations: 1.356 MB / 402.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1448/0.3949, allocations: 148.7 MB / 0.5379 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.3949, allocations: 0 / 0.5379 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.3951, allocations: 4 kB / 0.5379 GB, free: 2.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009255/0.396, allocations: 234.8 kB / 0.5381 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.397, allocations: 407.3 kB / 0.5385 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.3971, allocations: 59.66 kB / 0.5386 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.3972, allocations: 3.516 kB / 0.5386 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.3972, allocations: 19.98 kB / 0.5386 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.3973, allocations: 35.84 kB / 0.5386 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3973, allocations: 4 kB / 0.5386 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3984, allocations: 0.6745 MB / 0.5393 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3984, allocations: 4 kB / 0.5393 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3985, allocations: 23.86 kB / 0.5393 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.3992, allocations: 499 kB / 0.5398 GB, free: 252 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3992, allocations: 0 / 0.5398 GB, free: 252 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3992, allocations: 3.938 kB / 0.5398 GB, free: 248 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3992, allocations: 0 / 0.5398 GB, free: 248 kB / 462.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.1781/0.5774, allocations: 421.1 kB / 0.5402 GB, free: 151.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5774, allocations: 13.86 kB / 0.5402 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5785, allocations: 92.03 kB / 0.5403 GB, free: 151.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5788, allocations: 223.7 kB / 0.5405 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.5788, allocations: 1.531 kB / 0.5405 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5788, allocations: 2.031 kB / 0.5405 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.579, allocations: 91.67 kB / 0.5406 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5791, allocations: 4.469 kB / 0.5406 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.5791, allocations: 4.438 kB / 0.5406 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5791, allocations: 1 kB / 0.5406 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.5793, allocations: 51.12 kB / 0.5407 GB, free: 151.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.5795, allocations: 205.2 kB / 0.5409 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.5799, allocations: 130.9 kB / 0.541 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5801, allocations: 33.92 kB / 0.541 GB, free: 150.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/0.5805, allocations: 0.9873 MB / 0.542 GB, free: 149.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.5805, allocations: 34 kB / 0.542 GB, free: 149.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5805, allocations: 3.281 kB / 0.542 GB, free: 149.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004665/0.581, allocations: 135.7 kB / 0.5421 GB, free: 149.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.581, allocations: 81.97 kB / 0.5422 GB, free: 149.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.5812, allocations: 158.8 kB / 0.5424 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.5812, allocations: 30.39 kB / 0.5424 GB, free: 149.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.682e-05/0.5812, allocations: 84.86 kB / 0.5425 GB, free: 149.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.5813, allocations: 26.5 kB / 0.5425 GB, free: 149.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.5813, allocations: 33.31 kB / 0.5425 GB, free: 149.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.5813, allocations: 312.4 kB / 0.5428 GB, free: 148.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.5815, allocations: 28.72 kB / 0.5429 GB, free: 148.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5816, allocations: 57.72 kB / 0.5429 GB, free: 148.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.5818, allocations: 81.22 kB / 0.543 GB, free: 148.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5818, allocations: 0.5 kB / 0.543 GB, free: 148.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003299/0.5821, allocations: 122.8 kB / 0.5431 GB, free: 148.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5822, allocations: 5.594 kB / 0.5431 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5822, allocations: 5.031 kB / 0.5431 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5822, allocations: 6.641 kB / 0.5431 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5823, allocations: 27.22 kB / 0.5432 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5823, allocations: 2.438 kB / 0.5432 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.5825, allocations: 4.625 kB / 0.5432 GB, free: 148.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5826, allocations: 7.516 kB / 0.5432 GB, free: 148.8 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 4.95e-05/0.5826, allocations: 119.5 kB / 0.5433 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.5827, allocations: 6.438 kB / 0.5433 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.5832, allocations: 244.3 kB / 0.5435 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5832, allocations: 1.312 kB / 0.5435 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5832, allocations: 0.6875 kB / 0.5435 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5832, allocations: 2.625 kB / 0.5435 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5834, allocations: 216.6 kB / 0.5437 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5834, allocations: 1.031 kB / 0.5437 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.5836, allocations: 21.61 kB / 0.5438 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5836, allocations: 0.6562 kB / 0.5438 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5836, allocations: 11.05 kB / 0.5438 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5836, allocations: 4.656 kB / 0.5438 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5836, allocations: 1.344 kB / 0.5438 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.584, allocations: 182.9 kB / 0.5439 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.5841, allocations: 96.23 kB / 0.544 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.5841, allocations: 9.438 kB / 0.5441 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.5843, allocations: 5.344 kB / 0.5441 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.5843, allocations: 10.11 kB / 0.5441 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5843, allocations: 3.922 kB / 0.5441 GB, free: 148.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.5845, allocations: 130 kB / 0.5442 GB, free: 148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5845, allocations: 0 / 0.5442 GB, free: 148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.585, allocations: 128.6 kB / 0.5443 GB, free: 148 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.0006513/0.5857, allocations: 322.8 kB / 0.5446 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.5859, allocations: 76.36 kB / 0.5447 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.586, allocations: 0 / 0.5447 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.5861, allocations: 49.09 kB / 0.5447 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5863, allocations: 14.89 kB / 0.5448 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.5867, allocations: 289.5 kB / 0.545 GB, free: 147.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.5868, allocations: 0.698 MB / 0.5457 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.5872, allocations: 426.8 kB / 0.5461 GB, free: 146.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5873, allocations: 40.33 kB / 0.5462 GB, free: 146.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5873, allocations: 0 / 0.5462 GB, free: 146.7 MB / 462.1 MB Notification: Performance of Templates: time 0.007108/0.5944, allocations: 5.191 MB / 0.5512 GB, free: 141.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches