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.00101/0.00101, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004745/0.004745, allocations: 141.2 kB / 24.68 MB, free: 8.883 MB / 18.57 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 0.8547/0.8547, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.879e-05, allocations: 2.281 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001509/0.001528, allocations: 1.331 MB / 321 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1083/0.1098, allocations: 128.1 MB / 449.1 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1098, allocations: 0 / 449.1 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.1099, allocations: 7.922 kB / 449.1 MB, free: 3.867 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.1108, allocations: 386.1 kB / 449.5 MB, free: 3.488 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.1115, allocations: 0.5392 MB / 450 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.1116, allocations: 79.58 kB / 450.1 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.1117, allocations: 0 / 450.1 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.1117, allocations: 47.89 kB / 450.2 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.1118, allocations: 31.91 kB / 450.2 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1118, allocations: 0 / 450.2 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.1128, allocations: 0.9268 MB / 451.1 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1128, allocations: 23.91 kB / 451.1 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1128, allocations: 23.8 kB / 451.2 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1135, allocations: 0.7404 MB / 451.9 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1135, allocations: 0 / 451.9 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1135, allocations: 4 kB / 451.9 MB, free: 1.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1135, allocations: 4 kB / 451.9 MB, free: 1.07 MB / 410.7 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.0004373/0.114, allocations: 392.4 kB / 452.3 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.114, allocations: 8.922 kB / 452.3 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.1143, allocations: 64.81 kB / 452.4 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1144, allocations: 145.6 kB / 452.5 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1144, allocations: 8.375 kB / 452.5 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1144, allocations: 4.125 kB / 452.5 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1145, allocations: 67.39 kB / 452.6 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1145, allocations: 4 kB / 452.6 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1146, allocations: 0 / 452.6 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1146, allocations: 4 kB / 452.6 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.1146, allocations: 43.91 kB / 452.6 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.1148, allocations: 142.2 kB / 452.8 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1458/0.2605, allocations: 107 kB / 452.9 MB, free: 136.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.2606, allocations: 36.17 kB / 452.9 MB, free: 136.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.261, allocations: 58.75 kB / 453 MB, free: 136.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.261, allocations: 39.66 kB / 453 MB, free: 136.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.261, allocations: 3.719 kB / 453 MB, free: 136.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003047/0.2613, allocations: 117 kB / 453.1 MB, free: 136.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2614, allocations: 79.73 kB / 453.2 MB, free: 136.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.2615, allocations: 141 kB / 453.3 MB, free: 136.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.2615, allocations: 26.27 kB / 453.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.2615, allocations: 86.59 kB / 453.4 MB, free: 136.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.2615, allocations: 20.44 kB / 453.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2615, allocations: 24.23 kB / 453.5 MB, free: 136.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.2616, allocations: 319.8 kB / 453.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.2616, allocations: 29.86 kB / 453.8 MB, free: 136.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.2617, allocations: 46.98 kB / 453.9 MB, free: 136.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2618, allocations: 85.14 kB / 454 MB, free: 136.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2618, allocations: 0.5 kB / 454 MB, free: 136.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.262, allocations: 112.8 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.262, allocations: 5.906 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.262, allocations: 1.031 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.262, allocations: 2.219 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.2621, allocations: 14.56 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2621, allocations: 3.391 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.2621, allocations: 8.438 kB / 454.1 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2621, allocations: 14.72 kB / 454.1 MB, free: 136.1 MB / 410.7 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.162e-05/0.2622, allocations: 118.4 kB / 454.2 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.2622, allocations: 8.469 kB / 454.2 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2624, allocations: 110.6 kB / 454.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2624, allocations: 1.625 kB / 454.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2624, allocations: 4.062 kB / 454.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2624, allocations: 7.891 kB / 454.4 MB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.164e-05/0.2625, allocations: 133.3 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2625, allocations: 0.5312 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.2625, allocations: 13.98 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2625, allocations: 1.875 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2625, allocations: 1.594 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2625, allocations: 1.031 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2625, allocations: 0.5312 kB / 454.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.2628, allocations: 178.4 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.2628, allocations: 5.109 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2628, allocations: 4.938 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.2628, allocations: 9.156 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.2629, allocations: 3.062 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2629, allocations: 5.922 kB / 454.7 MB, free: 135.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.2629, allocations: 110.8 kB / 454.8 MB, free: 135.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2629, allocations: 2.25 kB / 454.8 MB, free: 135.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.2634, allocations: 166 kB / 455 MB, free: 135.6 MB / 410.7 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.0008147/0.2642, allocations: 452.9 kB / 455.4 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.2644, allocations: 62.5 kB / 455.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2644, allocations: 3.781 kB / 455.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.2644, allocations: 31.66 kB / 455.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.2646, allocations: 23.56 kB / 455.6 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.265, allocations: 275.1 kB / 455.8 MB, free: 135.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.265, allocations: 74.77 kB / 455.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.2651, allocations: 21.23 kB / 455.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2651, allocations: 0 / 455.9 MB, free: 135.2 MB / 410.7 MB Notification: Performance of Templates: time 0.003752/0.2688, allocations: 4.084 MB / 460 MB, free: 131.7 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.865003649145365]