Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001001/0.001001, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009136/0.0009136, allocations: 166.8 kB / 25.33 MB, free: 9.465 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.8702/0.8702, allocations: 158.6 MB / 187.2 MB, free: 2.543 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251 MB, free: 3.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.247e-05, allocations: 2.312 kB / 251 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001752/0.001774, allocations: 1.4 MB / 252.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2453/0.2471, allocations: 143.7 MB / 396.1 MB, free: 7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.2471, allocations: 0 / 396.1 MB, free: 7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.2472, allocations: 7.922 kB / 396.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2484, allocations: 360.1 kB / 396.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.2501, allocations: 0.8287 MB / 397.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2502, allocations: 79.58 kB / 397.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.2502, allocations: 3.984 kB / 397.4 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.2503, allocations: 43.84 kB / 397.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.2504, allocations: 31.89 kB / 397.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2504, allocations: 0 / 397.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.2522, allocations: 1.197 MB / 398.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.2522, allocations: 23.91 kB / 398.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2523, allocations: 12 kB / 398.7 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.2536, allocations: 0.9467 MB / 399.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2536, allocations: 3.938 kB / 399.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2536, allocations: 0 / 399.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2537, allocations: 0 / 399.7 MB, free: 3.469 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.0005813/0.2542, allocations: 0.492 MB / 400.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2543, allocations: 11.98 kB / 400.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.2546, allocations: 44.84 kB / 400.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2547, allocations: 136.5 kB / 400.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2547, allocations: 384 / 400.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2547, allocations: 8.312 kB / 400.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2549, allocations: 74.33 kB / 400.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2549, allocations: 7.875 kB / 400.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2549, allocations: 7.984 kB / 400.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2549, allocations: 0 / 400.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.2549, allocations: 8 kB / 400.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.2551, allocations: 140.3 kB / 400.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.2553, allocations: 86.19 kB / 400.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.2554, allocations: 27.42 kB / 400.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.2556, allocations: 51.95 kB / 400.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2557, allocations: 41.38 kB / 400.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.2557, allocations: 0 / 400.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002337/0.2559, allocations: 77.5 kB / 400.9 MB, free: 2.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2559, allocations: 81.11 kB / 400.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.256, allocations: 182.8 kB / 401.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.2561, allocations: 33.7 kB / 401.2 MB, free: 1.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.2561, allocations: 142.8 kB / 401.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.2561, allocations: 19.8 kB / 401.3 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.2562, allocations: 35.31 kB / 401.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2563, allocations: 496.1 kB / 401.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.2563, allocations: 8 kB / 401.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.2564, allocations: 46.72 kB / 401.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.097e-05/0.2565, allocations: 67.03 kB / 401.9 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2565, allocations: 7.188 kB / 402 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001622/0.2566, allocations: 69.62 kB / 402 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2566, allocations: 11.98 kB / 402 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2566, allocations: 0 / 402 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2567, allocations: 3.938 kB / 402 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.2567, allocations: 15.94 kB / 402.1 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2567, allocations: 4 kB / 402.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.2568, allocations: 7.891 kB / 402.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2568, allocations: 11.98 kB / 402.1 MB, free: 0.7812 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 7.136e-05/0.2568, allocations: 160.6 kB / 402.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.2569, allocations: 11.89 kB / 402.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.257, allocations: 84.66 kB / 402.3 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.257, allocations: 3.938 kB / 402.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.257, allocations: 0 / 402.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.257, allocations: 4 kB / 402.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.31e-05/0.2571, allocations: 124.6 kB / 402.5 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2571, allocations: 4 kB / 402.5 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.2572, allocations: 8 kB / 402.5 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2572, allocations: 0 / 402.5 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2572, allocations: 8 kB / 402.5 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2572, allocations: 3.984 kB / 402.5 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2572, allocations: 3.938 kB / 402.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2574, allocations: 124 kB / 402.6 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2574, allocations: 11.94 kB / 402.6 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2574, allocations: 4 kB / 402.6 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.2575, allocations: 0.875 kB / 402.6 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.2575, allocations: 11.92 kB / 402.6 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2575, allocations: 4 kB / 402.6 MB, free: 152 kB / 330.7 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.2576, allocations: 143.1 kB / 402.8 MB, free: 8 kB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2576, allocations: 4.031 kB / 402.8 MB, free: 4 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005282/0.2581, allocations: 207.3 kB / 403 MB, free: 15.8 MB / 346.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.001065/0.2592, allocations: 0.5525 MB / 403.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2593, allocations: 39.61 kB / 403.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2593, allocations: 0 / 403.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.2593, allocations: 23.67 kB / 403.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2596, allocations: 43.86 kB / 403.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.2603, allocations: 258.2 kB / 403.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.2603, allocations: 63.34 kB / 404 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.2604, allocations: 23.86 kB / 404 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2604, allocations: 20.5 kB / 404 MB, free: 14.74 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2604, allocations: 0 / 404 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Templates: time 0.009766/0.2702, allocations: 6.402 MB / 410.4 MB, free: 8.352 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.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: 3.2423947439529]