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.001024/0.001024, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001018/0.001018, allocations: 165.9 kB / 25.61 MB, free: 8.59 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.9127/0.9127, allocations: 177.1 MB / 206 MB, free: 4.504 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.673e-06/1.673e-06, allocations: 0 / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.892e-05, allocations: 6.312 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002326/0.002345, allocations: 1.394 MB / 275.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2347/0.2371, allocations: 141.9 MB / 417.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.2371, allocations: 0 / 417.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2372, allocations: 0 / 417.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008252/0.238, allocations: 251 kB / 417.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.2389, allocations: 410.8 kB / 418.1 MB, free: 432 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.2389, allocations: 63.66 kB / 418.1 MB, free: 368 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.239, allocations: 8 kB / 418.2 MB, free: 360 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.239, allocations: 27.91 kB / 418.2 MB, free: 332 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.2391, allocations: 27.91 kB / 418.2 MB, free: 304 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.2391, allocations: 0 / 418.2 MB, free: 304 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.2399, allocations: 0.5729 MB / 418.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2399, allocations: 7.922 kB / 418.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.2399, allocations: 19.98 kB / 418.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.2405, allocations: 0.526 MB / 419.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2405, allocations: 0 / 419.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2405, allocations: 4 kB / 419.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2405, allocations: 0 / 419.3 MB, free: 15.16 MB / 346.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.0005258/0.241, allocations: 460.2 kB / 419.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2411, allocations: 8.031 kB / 419.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000693/0.2418, allocations: 112.7 kB / 419.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.242, allocations: 228.4 kB / 420.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.242, allocations: 8.562 kB / 420.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.242, allocations: 7.938 kB / 420.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2422, allocations: 96.95 kB / 420.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2422, allocations: 0 / 420.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2422, allocations: 4 kB / 420.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2422, allocations: 4 kB / 420.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.2423, allocations: 39.88 kB / 420.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2424, allocations: 134.4 kB / 420.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2426, allocations: 138.1 kB / 420.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.2427, allocations: 39.36 kB / 420.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.2428, allocations: 92.58 kB / 420.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2429, allocations: 41.38 kB / 420.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2429, allocations: 0 / 420.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002207/0.2431, allocations: 121.4 kB / 420.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2431, allocations: 77.11 kB / 420.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2432, allocations: 222.4 kB / 421.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2432, allocations: 25.7 kB / 421.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.2433, allocations: 134.9 kB / 421.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.2433, allocations: 31.78 kB / 421.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.2434, allocations: 35.34 kB / 421.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2435, allocations: 0.4883 MB / 421.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.2435, allocations: 23.97 kB / 421.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.2436, allocations: 56.83 kB / 421.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.2436, allocations: 90.62 kB / 422 MB, free: 12.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2436, allocations: 0 / 422 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001555/0.2438, allocations: 113.5 kB / 422.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2438, allocations: 7.938 kB / 422.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2438, allocations: 7.938 kB / 422.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.2438, allocations: 0 / 422.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.2439, allocations: 23.97 kB / 422.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.2439, allocations: 0 / 422.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.244, allocations: 8 kB / 422.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.244, allocations: 7.984 kB / 422.2 MB, free: 12.07 MB / 346.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.489e-05/0.2441, allocations: 156.6 kB / 422.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2441, allocations: 8.422 kB / 422.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.2443, allocations: 189.3 kB / 422.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2443, allocations: 4 kB / 422.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2443, allocations: 0 / 422.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2443, allocations: 0 / 422.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2444, allocations: 131.3 kB / 422.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2444, allocations: 0 / 422.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.2445, allocations: 23.97 kB / 422.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.2445, allocations: 4 kB / 422.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2445, allocations: 3.312 kB / 422.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2445, allocations: 4 kB / 422.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2445, allocations: 3.938 kB / 422.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.2447, allocations: 148 kB / 422.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.2448, allocations: 47.88 kB / 422.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.2448, allocations: 0 / 422.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.2449, allocations: 8 kB / 422.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.2449, allocations: 7.922 kB / 422.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2449, allocations: 4 kB / 422.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003409/0.2453, allocations: 187.1 kB / 423.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2453, allocations: 0 / 423.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.2456, allocations: 135.5 kB / 423.2 MB, free: 10.95 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 (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.0004131/0.246, allocations: 322.5 kB / 423.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2461, allocations: 67.61 kB / 423.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2461, allocations: 128 / 423.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.2461, allocations: 39.66 kB / 423.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.2463, allocations: 34.47 kB / 423.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.2468, allocations: 275.1 kB / 423.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.684e-05/0.2469, allocations: 63.34 kB / 424 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.2472, allocations: 430.9 kB / 424.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2473, allocations: 110.1 kB / 424.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2473, allocations: 4 kB / 424.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of Templates: time 0.008043/0.2554, allocations: 7.446 MB / 432 MB, free: 2.191 MB / 346.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.894904574844986]