Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2092, allocations: 50.53 MB / 409.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00219/0.2114, allocations: 1.378 MB / 411.3 MB, free: 128 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3444/0.5558, allocations: 151.6 MB / 0.5497 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.5559, allocations: 0.9062 kB / 0.5497 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.556, allocations: 5.062 kB / 0.5497 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.5567, allocations: 242.1 kB / 0.5499 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.5575, allocations: 394.5 kB / 0.5503 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.5576, allocations: 62.33 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.5576, allocations: 2.609 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.5576, allocations: 26.69 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.5577, allocations: 30.05 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.5577, allocations: 3.375 kB / 0.5504 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009098/0.5587, allocations: 0.6729 MB / 0.5511 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.5587, allocations: 8.688 kB / 0.5511 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.5587, allocations: 23.81 kB / 0.5511 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.5593, allocations: 0.4916 MB / 0.5516 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5593, allocations: 0 / 0.5516 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5594, allocations: 0.9375 kB / 0.5516 GB, free: 1.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.5594, allocations: 0 / 0.5516 GB, free: 1.43 MB / 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.000531/0.5599, allocations: 430.2 kB / 0.552 GB, free: 17.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.5599, allocations: 9.531 kB / 0.552 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.5613, allocations: 112.3 kB / 0.5521 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5616, allocations: 218.6 kB / 0.5523 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.5616, allocations: 4.062 kB / 0.5523 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5617, allocations: 5.078 kB / 0.5523 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.5619, allocations: 96.22 kB / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.5619, allocations: 2.25 kB / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5619, allocations: 0 / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5619, allocations: 0.8438 kB / 0.5524 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.5621, allocations: 44.59 kB / 0.5525 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.5623, allocations: 217.1 kB / 0.5527 GB, free: 16.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5627, allocations: 116.3 kB / 0.5528 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5628, allocations: 42.83 kB / 0.5528 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.5634, allocations: 0.9964 MB / 0.5538 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.5635, allocations: 31.5 kB / 0.5538 GB, free: 15.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5635, allocations: 0 / 0.5538 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004435/0.5639, allocations: 128.7 kB / 0.554 GB, free: 15.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.564, allocations: 80.11 kB / 0.554 GB, free: 15.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.5642, allocations: 161.7 kB / 0.5542 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5642, allocations: 25.7 kB / 0.5542 GB, free: 15.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5642, allocations: 82.92 kB / 0.5543 GB, free: 15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.5643, allocations: 22.86 kB / 0.5543 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.5643, allocations: 33.34 kB / 0.5543 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.5644, allocations: 323.3 kB / 0.5547 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5645, allocations: 28.77 kB / 0.5547 GB, free: 14.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5647, allocations: 51.75 kB / 0.5547 GB, free: 14.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.5649, allocations: 88.34 kB / 0.5548 GB, free: 14.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5649, allocations: 0 / 0.5548 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003127/0.5652, allocations: 119.4 kB / 0.5549 GB, free: 14.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5652, allocations: 7.719 kB / 0.5549 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5652, allocations: 1.906 kB / 0.5549 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5652, allocations: 4.766 kB / 0.5549 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5654, allocations: 28.52 kB / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5654, allocations: 0.9062 kB / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5656, allocations: 13.84 kB / 0.555 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5656, allocations: 4 kB / 0.555 GB, free: 14.55 MB / 478.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 7.678e-05/0.5657, allocations: 127.2 kB / 0.5551 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.5658, allocations: 6.562 kB / 0.5551 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.5663, allocations: 247.5 kB / 0.5554 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5663, allocations: 0 / 0.5554 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5663, allocations: 1.125 kB / 0.5554 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.5664, allocations: 89.94 kB / 0.5554 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.5664, allocations: 2.375 kB / 0.5554 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5667, allocations: 15.28 kB / 0.5555 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.5667, allocations: 10.3 kB / 0.5555 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000508/0.5672, allocations: 284.1 kB / 0.5557 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004482/0.5677, allocations: 396.8 kB / 0.5561 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.684e-05/0.5678, allocations: 35.67 kB / 0.5562 GB, free: 13.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.568, allocations: 132.5 kB / 0.5563 GB, free: 13.75 MB / 478.1 MB Notification: Performance of Backend: time 5.41e-07/0.568, allocations: 0 / 0.5563 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.5691, allocations: 364.7 kB / 0.5566 GB, free: 13.64 MB / 478.1 MB Notification: Performance of SimCode: time 0.0006573/0.5697, allocations: 0.7558 MB / 0.5574 GB, free: 13 MB / 478.1 MB Notification: Performance of Templates: time 0.007486/0.5772, allocations: 5.486 MB / 0.5627 GB, free: 12.57 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches