Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001326/0.001326, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001465/0.001465, allocations: 216.4 kB / 24.49 MB, free: 3.93 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2195, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002299/0.2218, allocations: 1.343 MB / 433.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.354/0.5758, allocations: 130.9 MB / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.5758, allocations: 0 / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.5759, allocations: 11.75 kB / 0.5514 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009893/0.5769, allocations: 381.3 kB / 0.5517 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.5779, allocations: 0.5195 MB / 0.5523 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.578, allocations: 76.95 kB / 0.5523 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.578, allocations: 2.953 kB / 0.5523 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.578, allocations: 35 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.5781, allocations: 34.59 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.5781, allocations: 2.188 kB / 0.5524 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.5795, allocations: 0.9638 MB / 0.5533 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.5796, allocations: 15.88 kB / 0.5534 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.5796, allocations: 25.3 kB / 0.5534 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.5805, allocations: 0.6647 MB / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5805, allocations: 6.156 kB / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5805, allocations: 0 / 0.554 GB, free: 15.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.5805, allocations: 0 / 0.554 GB, free: 15.89 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.0005981/0.5811, allocations: 389.5 kB / 0.5544 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5811, allocations: 8.25 kB / 0.5544 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/0.5816, allocations: 67.72 kB / 0.5545 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.5818, allocations: 142.7 kB / 0.5546 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5818, allocations: 5.312 kB / 0.5546 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5818, allocations: 3.906 kB / 0.5546 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.582, allocations: 75.16 kB / 0.5547 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.582, allocations: 5.094 kB / 0.5547 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.582, allocations: 1.375 kB / 0.5547 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.582, allocations: 0 / 0.5547 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.5821, allocations: 44.41 kB / 0.5547 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.5823, allocations: 134 kB / 0.5549 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5826, allocations: 111.3 kB / 0.555 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.5826, allocations: 44.14 kB / 0.555 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.5831, allocations: 65.39 kB / 0.5551 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.5832, allocations: 37.16 kB / 0.5551 GB, free: 15.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5832, allocations: 0 / 0.5551 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003567/0.5835, allocations: 120.3 kB / 0.5552 GB, free: 15.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5836, allocations: 81.11 kB / 0.5553 GB, free: 14.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5837, allocations: 148.2 kB / 0.5554 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5837, allocations: 25.7 kB / 0.5555 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.5838, allocations: 86.14 kB / 0.5556 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.5838, allocations: 26.45 kB / 0.5556 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.5838, allocations: 21.27 kB / 0.5556 GB, free: 14.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.584, allocations: 318 kB / 0.5559 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.584, allocations: 26.58 kB / 0.5559 GB, free: 14.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/0.5841, allocations: 55.94 kB / 0.556 GB, free: 14.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5843, allocations: 79.89 kB / 0.5561 GB, free: 14.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5843, allocations: 3.25 kB / 0.5561 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002443/0.5845, allocations: 112.8 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5845, allocations: 9.906 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5845, allocations: 0 / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5845, allocations: 5.359 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.5846, allocations: 14.25 kB / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5846, allocations: 0 / 0.5562 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.5847, allocations: 16.83 kB / 0.5562 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.5847, allocations: 6.031 kB / 0.5562 GB, free: 14.31 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 8.372e-05/0.5847, allocations: 108.6 kB / 0.5563 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.5848, allocations: 10.48 kB / 0.5563 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.585, allocations: 120.2 kB / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.585, allocations: 0 / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5851, allocations: 2.094 kB / 0.5564 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.5851, allocations: 6.375 kB / 0.5565 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5851, allocations: 3.25 kB / 0.5565 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.5851, allocations: 10.52 kB / 0.5565 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.5852, allocations: 2.188 kB / 0.5565 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004282/0.5856, allocations: 272.6 kB / 0.5567 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004042/0.586, allocations: 383.3 kB / 0.5571 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.95e-05/0.5861, allocations: 28.33 kB / 0.5571 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.5862, allocations: 110.7 kB / 0.5572 GB, free: 13.6 MB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/0.5862, allocations: 64 / 0.5572 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.5875, allocations: 453.3 kB / 0.5577 GB, free: 13.47 MB / 462.1 MB Notification: Performance of SimCode: time 0.000777/0.5883, allocations: 0.7561 MB / 0.5584 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Templates: time 0.008301/0.5966, allocations: 5.282 MB / 0.5636 GB, free: 12.18 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.904473719005182]