Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.0009516/0.0009516, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 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.0009862/0.0009862, allocations: 172.7 kB / 26.39 MB, free: 7.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8598/0.8598, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 252.2 MB, free: 7.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.47e-05, allocations: 6.25 kB / 252.2 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001622/0.001637, allocations: 1.371 MB / 253.6 MB, free: 5.965 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.262, allocations: 140.5 MB / 394.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.2621, allocations: 0 / 394.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.2621, allocations: 9.953 kB / 394.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.2628, allocations: 249.7 kB / 394.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2639, allocations: 0.6396 MB / 395 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.264, allocations: 63.91 kB / 395.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.264, allocations: 2.969 kB / 395.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.2641, allocations: 31.62 kB / 395.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.2641, allocations: 25.12 kB / 395.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2641, allocations: 3.422 kB / 395.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008894/0.265, allocations: 0.767 MB / 395.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.265, allocations: 10.19 kB / 395.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2651, allocations: 17.95 kB / 396 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006926/0.2658, allocations: 0.6672 MB / 396.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2658, allocations: 7.375 kB / 396.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2658, allocations: 0 / 396.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2658, allocations: 3.938 kB / 396.6 MB, free: 10.5 MB / 330.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.0003821/0.2662, allocations: 487.8 kB / 397.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2662, allocations: 14.67 kB / 397.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.2667, allocations: 90.7 kB / 397.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2669, allocations: 221.9 kB / 397.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.267, allocations: 4.375 kB / 397.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.267, allocations: 9.344 kB / 397.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2671, allocations: 98.61 kB / 397.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2671, allocations: 3.938 kB / 397.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2671, allocations: 3.5 kB / 397.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2671, allocations: 0 / 397.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.2672, allocations: 36.98 kB / 397.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.2673, allocations: 137.5 kB / 397.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.2675, allocations: 135.1 kB / 397.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.2675, allocations: 45.08 kB / 397.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.2677, allocations: 90.75 kB / 398 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2677, allocations: 35.73 kB / 398 MB, free: 9.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.2677, allocations: 0 / 398 MB, free: 9.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002072/0.2679, allocations: 128.7 kB / 398.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2679, allocations: 81.05 kB / 398.2 MB, free: 9.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.268, allocations: 217.7 kB / 398.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.268, allocations: 25.7 kB / 398.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.734e-05/0.268, allocations: 129.7 kB / 398.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2681, allocations: 28.45 kB / 398.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.2681, allocations: 34.98 kB / 398.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.2681, allocations: 0.4912 MB / 399.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.2682, allocations: 14.89 kB / 399.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.2682, allocations: 57.67 kB / 399.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.2683, allocations: 93.19 kB / 399.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2683, allocations: 0 / 399.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001311/0.2684, allocations: 116.1 kB / 399.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2684, allocations: 5.719 kB / 399.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2684, allocations: 2.875 kB / 399.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.2684, allocations: 3.938 kB / 399.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.2685, allocations: 24.91 kB / 399.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2685, allocations: 3.094 kB / 399.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.2686, allocations: 11.42 kB / 399.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2686, allocations: 6.344 kB / 399.5 MB, free: 8.305 MB / 330.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.027e-05/0.2686, allocations: 159.2 kB / 399.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.2687, allocations: 13.17 kB / 399.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.2689, allocations: 178.4 kB / 399.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2689, allocations: 3.938 kB / 399.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.2689, allocations: 1.875 kB / 399.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2689, allocations: 0 / 399.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.782e-05/0.2689, allocations: 131.4 kB / 399.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2689, allocations: 1.094 kB / 399.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.269, allocations: 18.84 kB / 400 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.269, allocations: 6.969 kB / 400 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.269, allocations: 7.172 kB / 400 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.269, allocations: 2.469 kB / 400 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.269, allocations: 0 / 400 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.2692, allocations: 147.9 kB / 400.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.2692, allocations: 46.72 kB / 400.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2693, allocations: 4.266 kB / 400.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.2693, allocations: 10.33 kB / 400.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.2693, allocations: 10.48 kB / 400.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2694, allocations: 7.438 kB / 400.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.089e-05/0.2694, allocations: 175.2 kB / 400.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2694, allocations: 0 / 400.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.2697, allocations: 174 kB / 400.5 MB, free: 7.582 MB / 330.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 (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.000534/0.2703, allocations: 431.9 kB / 401 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.2704, allocations: 68.33 kB / 401 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2704, allocations: 0 / 401 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.56e-05/0.2704, allocations: 38.27 kB / 401.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.2706, allocations: 47.05 kB / 401.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.2711, allocations: 274.2 kB / 401.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.765e-05/0.2711, allocations: 60.84 kB / 401.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.2714, allocations: 430 kB / 401.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2715, allocations: 113 kB / 402 MB, free: 6.754 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2715, allocations: 0 / 402 MB, free: 6.754 MB / 330.7 MB Notification: Performance of Templates: time 0.00756/0.2791, allocations: 8.679 MB / 410.7 MB, free: 2.039 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9216080643236637]