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.001317/0.001317, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.001511/0.001511, allocations: 169.9 kB / 25.6 MB, free: 8.109 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.8663/0.8663, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.088e-05, allocations: 6.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001641/0.001662, allocations: 1.373 MB / 252.8 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2518/0.2535, allocations: 140.5 MB / 393.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.2536, allocations: 2.906 kB / 393.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.2536, allocations: 5.766 kB / 393.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007648/0.2543, allocations: 245 kB / 393.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2554, allocations: 0.635 MB / 394.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.2555, allocations: 59.7 kB / 394.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.943e-05/0.2556, allocations: 0 / 394.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.2556, allocations: 35.36 kB / 394.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.2557, allocations: 24.84 kB / 394.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2557, allocations: 0 / 394.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009693/0.2567, allocations: 0.7739 MB / 395.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2567, allocations: 6.547 kB / 395.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.2567, allocations: 22.75 kB / 395.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.2575, allocations: 0.6709 MB / 395.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2575, allocations: 0 / 395.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2575, allocations: 0 / 395.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2575, allocations: 0 / 395.8 MB, free: 10.45 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.0003756/0.2578, allocations: 486.7 kB / 396.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2579, allocations: 14.67 kB / 396.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.2584, allocations: 96.22 kB / 396.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2586, allocations: 221.9 kB / 396.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2586, allocations: 3.156 kB / 396.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2586, allocations: 1.5 kB / 396.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2588, allocations: 107.8 kB / 396.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2588, allocations: 0 / 396.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2588, allocations: 0 / 396.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2588, allocations: 2.906 kB / 396.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.2588, allocations: 48.42 kB / 396.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.259, allocations: 136.4 kB / 396.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2592, allocations: 136.8 kB / 397.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.2592, allocations: 40.66 kB / 397.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.2594, allocations: 103.9 kB / 397.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2594, allocations: 35.8 kB / 397.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.2594, allocations: 0 / 397.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002074/0.2596, allocations: 121.5 kB / 397.4 MB, free: 9.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.2596, allocations: 88.47 kB / 397.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.2597, allocations: 219.5 kB / 397.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.2597, allocations: 31.45 kB / 397.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/0.2598, allocations: 126.9 kB / 397.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2598, allocations: 21.09 kB / 397.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2598, allocations: 37.14 kB / 397.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.2599, allocations: 0.4899 MB / 398.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.2599, allocations: 22.75 kB / 398.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.26, allocations: 56.44 kB / 398.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.2601, allocations: 94.45 kB / 398.5 MB, free: 8.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2601, allocations: 0 / 398.5 MB, free: 8.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/0.2602, allocations: 108 kB / 398.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2602, allocations: 8.031 kB / 398.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2602, allocations: 0 / 398.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2602, allocations: 7.875 kB / 398.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.2603, allocations: 29.34 kB / 398.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.2603, allocations: 0 / 398.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.2604, allocations: 10.69 kB / 398.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2604, allocations: 9.266 kB / 398.7 MB, free: 8.238 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.49e-05/0.2604, allocations: 158.4 kB / 398.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.2604, allocations: 7.359 kB / 398.9 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2607, allocations: 186.2 kB / 399 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2607, allocations: 3.938 kB / 399.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2607, allocations: 0 / 399.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2607, allocations: 6.094 kB / 399.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.2608, allocations: 128.3 kB / 399.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2608, allocations: 0 / 399.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.2608, allocations: 22 kB / 399.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2608, allocations: 0 / 399.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2609, allocations: 2.406 kB / 399.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2609, allocations: 0 / 399.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2609, allocations: 0 / 399.2 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.261, allocations: 160.4 kB / 399.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2611, allocations: 50.44 kB / 399.4 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.2611, allocations: 5.234 kB / 399.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.2612, allocations: 3.188 kB / 399.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.2612, allocations: 13.67 kB / 399.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2612, allocations: 6.984 kB / 399.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.584e-05/0.2613, allocations: 173.8 kB / 399.6 MB, free: 7.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2613, allocations: 0 / 399.6 MB, free: 7.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.2617, allocations: 175.5 kB / 399.8 MB, free: 7.512 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.0005311/0.2622, allocations: 425.5 kB / 400.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.2623, allocations: 68.5 kB / 400.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2623, allocations: 4.125 kB / 400.3 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.2624, allocations: 38.03 kB / 400.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.2625, allocations: 31.89 kB / 400.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.263, allocations: 279.3 kB / 400.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.906e-05/0.263, allocations: 61.97 kB / 400.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.2633, allocations: 425.7 kB / 401.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2635, allocations: 118.3 kB / 401.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2635, allocations: 0 / 401.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of Templates: time 0.008072/0.2715, allocations: 8.622 MB / 409.8 MB, free: 2.027 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.949669994879514]