Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001354/0.001354, allocations: 115.4 kB / 18.41 MB, free: 4.648 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.001338/0.001338, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.419/1.419, allocations: 222.9 MB / 247.1 MB, free: 4.324 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 55.91 kB / 358.7 MB, free: 8.438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.0983, allocations: 49.43 MB / 408.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002425/0.1008, allocations: 1.365 MB / 409.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3707/0.4714, allocations: 149.1 MB / 0.5454 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.4716, allocations: 0 / 0.5454 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.4717, allocations: 7.922 kB / 0.5454 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.473, allocations: 374.1 kB / 0.5458 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4743, allocations: 0.5026 MB / 0.5463 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4744, allocations: 75.64 kB / 0.5464 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.4745, allocations: 8 kB / 0.5464 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.4746, allocations: 31.91 kB / 0.5464 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4747, allocations: 35.78 kB / 0.5464 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.4747, allocations: 4 kB / 0.5464 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.4768, allocations: 1.078 MB / 0.5475 GB, free: 2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.4768, allocations: 11.97 kB / 0.5475 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.4769, allocations: 23.88 kB / 0.5475 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.4781, allocations: 0.6908 MB / 0.5482 GB, free: 1.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.4781, allocations: 4 kB / 0.5482 GB, free: 1.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4782, allocations: 6.344 kB / 0.5482 GB, free: 1.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4782, allocations: 0 / 0.5482 GB, free: 1.27 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.0007023/0.4789, allocations: 462.2 kB / 0.5486 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4789, allocations: 12.03 kB / 0.5487 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.4794, allocations: 76.78 kB / 0.5487 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.4796, allocations: 196.4 kB / 0.5489 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4796, allocations: 3.938 kB / 0.5489 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.4797, allocations: 8 kB / 0.5489 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4799, allocations: 71.39 kB / 0.549 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4799, allocations: 0 / 0.549 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.4799, allocations: 3.984 kB / 0.549 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4799, allocations: 0 / 0.549 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.48, allocations: 47.91 kB / 0.549 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.4803, allocations: 190.5 kB / 0.5492 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.4806, allocations: 121.2 kB / 0.5493 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.4807, allocations: 37.64 kB / 0.5494 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.4813, allocations: 137 kB / 0.5495 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4813, allocations: 34.56 kB / 0.5495 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4813, allocations: 0 / 0.5495 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003875/0.4817, allocations: 121.8 kB / 0.5497 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4818, allocations: 85.09 kB / 0.5497 GB, free: 15.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4819, allocations: 144.9 kB / 0.5499 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.482, allocations: 25.7 kB / 0.5499 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.482, allocations: 85.64 kB / 0.55 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4821, allocations: 23.84 kB / 0.55 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.4821, allocations: 21.72 kB / 0.55 GB, free: 15.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4823, allocations: 318.8 kB / 0.5503 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.4823, allocations: 23.98 kB / 0.5504 GB, free: 14.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.4824, allocations: 55.41 kB / 0.5504 GB, free: 14.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.4826, allocations: 75.34 kB / 0.5505 GB, free: 14.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4826, allocations: 7.938 kB / 0.5505 GB, free: 14.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002705/0.4829, allocations: 109.5 kB / 0.5506 GB, free: 14.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4829, allocations: 8 kB / 0.5506 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4829, allocations: 0 / 0.5506 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.483, allocations: 7.984 kB / 0.5506 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.483, allocations: 16 kB / 0.5506 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.483, allocations: 0 / 0.5506 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.4831, allocations: 10.06 kB / 0.5506 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4831, allocations: 3.938 kB / 0.5506 GB, free: 14.49 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.804e-05/0.4832, allocations: 129.8 kB / 0.5508 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.4833, allocations: 11.89 kB / 0.5508 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.4835, allocations: 105.5 kB / 0.5509 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4836, allocations: 0 / 0.5509 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.4836, allocations: 4 kB / 0.5509 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4836, allocations: 3.938 kB / 0.5509 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4838, allocations: 181.6 kB / 0.5511 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4838, allocations: 0 / 0.5511 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.4838, allocations: 12 kB / 0.5511 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4839, allocations: 7.984 kB / 0.5511 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4839, allocations: 4 kB / 0.5511 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4839, allocations: 0 / 0.5511 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4839, allocations: 4 kB / 0.5511 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.4842, allocations: 154.7 kB / 0.5512 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.4843, allocations: 93.31 kB / 0.5513 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4844, allocations: 8 kB / 0.5513 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.4844, allocations: 4 kB / 0.5513 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.4845, allocations: 11.97 kB / 0.5513 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4845, allocations: 4 kB / 0.5513 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.4846, allocations: 112.2 kB / 0.5515 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4846, allocations: 0 / 0.5515 GB, free: 13.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006355/0.4852, allocations: 163.4 kB / 0.5516 GB, free: 13.39 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001093/0.4863, allocations: 436.3 kB / 0.552 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4865, allocations: 63.89 kB / 0.5521 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4866, allocations: 4 kB / 0.5521 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.4866, allocations: 31.92 kB / 0.5521 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4869, allocations: 32.91 kB / 0.5522 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.4876, allocations: 333.2 kB / 0.5525 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4879, allocations: 0.6885 MB / 0.5531 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.4879, allocations: 15.44 kB / 0.5532 GB, free: 11.76 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.488, allocations: 4 kB / 0.5532 GB, free: 11.75 MB / 462.1 MB Notification: Performance of Templates: time 0.007273/0.4952, allocations: 3.998 MB / 0.5571 GB, free: 7.766 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.339428423088975]