Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001027/0.001027, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001091/0.001091, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9722/0.9722, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 273 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.582e-05, allocations: 2.312 kB / 273 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.005076/0.005102, allocations: 1.408 MB / 274.5 MB, free: 412 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2451/0.2502, allocations: 144.3 MB / 418.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.2503, allocations: 0 / 418.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.2503, allocations: 7.984 kB / 418.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007943/0.2511, allocations: 242.9 kB / 419 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.2519, allocations: 418.8 kB / 419.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.252, allocations: 59.66 kB / 419.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.252, allocations: 4 kB / 419.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.252, allocations: 31.89 kB / 419.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.2521, allocations: 27.97 kB / 419.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2521, allocations: 4 kB / 419.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.2529, allocations: 0.5689 MB / 420.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2529, allocations: 11.97 kB / 420.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.253, allocations: 19.94 kB / 420.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.2537, allocations: 0.526 MB / 420.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2537, allocations: 4 kB / 420.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2537, allocations: 0 / 420.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2537, allocations: 0 / 420.7 MB, free: 13.86 MB / 378.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.0004396/0.2541, allocations: 453 kB / 421.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2542, allocations: 12.02 kB / 421.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/0.2549, allocations: 116.7 kB / 421.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2552, allocations: 229.1 kB / 421.5 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2552, allocations: 0.5625 kB / 421.5 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.2553, allocations: 7.938 kB / 421.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2554, allocations: 101 kB / 421.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2554, allocations: 0 / 421.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2554, allocations: 8 kB / 421.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2554, allocations: 0 / 421.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.2555, allocations: 53.06 kB / 421.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.2557, allocations: 161.5 kB / 421.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.256, allocations: 138 kB / 421.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.256, allocations: 43.41 kB / 422 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.2562, allocations: 88.58 kB / 422.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2562, allocations: 41.33 kB / 422.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2562, allocations: 4 kB / 422.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002635/0.2565, allocations: 129.5 kB / 422.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2565, allocations: 77.11 kB / 422.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2567, allocations: 229.8 kB / 422.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2567, allocations: 25.7 kB / 422.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2567, allocations: 134.9 kB / 422.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.2567, allocations: 23.78 kB / 422.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.2568, allocations: 35.34 kB / 422.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2569, allocations: 0.4884 MB / 423.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.2569, allocations: 23.97 kB / 423.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.257, allocations: 67.38 kB / 423.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.2571, allocations: 86.66 kB / 423.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2571, allocations: 0 / 423.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001704/0.2573, allocations: 122 kB / 423.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2573, allocations: 8 kB / 423.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2573, allocations: 3.938 kB / 423.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2573, allocations: 64 / 423.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2574, allocations: 31.97 kB / 423.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2574, allocations: 0 / 423.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.2575, allocations: 4.5 kB / 423.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2575, allocations: 11.98 kB / 423.6 MB, free: 10.68 MB / 378.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 6.91e-05/0.2575, allocations: 156.6 kB / 423.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.2576, allocations: 15.89 kB / 423.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.2578, allocations: 195.4 kB / 423.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2578, allocations: 8 kB / 423.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2578, allocations: 0 / 423.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2579, allocations: 0 / 423.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.258, allocations: 150.6 kB / 424.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.258, allocations: 0 / 424.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.2581, allocations: 19.97 kB / 424.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2581, allocations: 0 / 424.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2581, allocations: 11.88 kB / 424.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2581, allocations: 0 / 424.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2581, allocations: 0 / 424.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2583, allocations: 170 kB / 424.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.2583, allocations: 47.88 kB / 424.3 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2584, allocations: 3.938 kB / 424.3 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.2584, allocations: 4 kB / 424.3 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2585, allocations: 7.984 kB / 424.4 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.2585, allocations: 7.984 kB / 424.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.2586, allocations: 183.1 kB / 424.5 MB, free: 9.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2586, allocations: 0 / 424.5 MB, free: 9.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.2589, allocations: 131.6 kB / 424.7 MB, free: 9.52 MB / 378.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.0004342/0.2593, allocations: 330.6 kB / 425 MB, free: 9.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2595, allocations: 75.7 kB / 425.1 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2595, allocations: 0 / 425.1 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/0.2595, allocations: 39.66 kB / 425.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.2597, allocations: 37.56 kB / 425.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.2603, allocations: 275.4 kB / 425.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.2604, allocations: 63.34 kB / 425.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005783/0.2609, allocations: 425.5 kB / 425.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.261, allocations: 44.45 kB / 425.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.261, allocations: 0 / 425.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of Templates: time 0.006373/0.2674, allocations: 5.66 MB / 431.6 MB, free: 2.578 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9672064969781786]