Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007102/0.0007102, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001626, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006557/0.0006557, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008924/0.001548, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9457/0.9457, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08125/1.027, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.996e-05, allocations: 2.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00169/0.00171, allocations: 1.425 MB / 241 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2167/0.2184, allocations: 141.5 MB / 382.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.2184, allocations: 0 / 382.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.2184, allocations: 3.984 kB / 382.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.2191, allocations: 242.6 kB / 382.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.2198, allocations: 376.3 kB / 383.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.2199, allocations: 71.59 kB / 383.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2199, allocations: 0 / 383.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.22, allocations: 35.95 kB / 383.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.2201, allocations: 23.91 kB / 383.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2201, allocations: 7.938 kB / 383.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.2209, allocations: 0.6001 MB / 383.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2209, allocations: 4 kB / 383.8 MB, free: 196 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.2209, allocations: 12 kB / 383.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.2215, allocations: 458.9 kB / 384.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.2215, allocations: 4 kB / 384.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2215, allocations: 0 / 384.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.2215, allocations: 0 / 384.3 MB, free: 15.73 MB / 362.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.0004421/0.222, allocations: 387.7 kB / 384.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.222, allocations: 8.031 kB / 384.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.2225, allocations: 185.8 kB / 384.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.2228, allocations: 207 kB / 385.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2228, allocations: 4.562 kB / 385.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2228, allocations: 3.938 kB / 385.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2229, allocations: 91.31 kB / 385.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.2229, allocations: 0 / 385.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2229, allocations: 3.984 kB / 385.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2229, allocations: 4 kB / 385.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.223, allocations: 35.89 kB / 385.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.2231, allocations: 77.89 kB / 385.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.2233, allocations: 109.6 kB / 385.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.2233, allocations: 29.7 kB / 385.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.2235, allocations: 101.6 kB / 385.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2235, allocations: 38.55 kB / 385.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.2235, allocations: 0 / 385.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001592/0.2237, allocations: 103 kB / 385.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2237, allocations: 77.11 kB / 385.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.2238, allocations: 152.9 kB / 385.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2238, allocations: 33.7 kB / 385.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.2238, allocations: 80.14 kB / 386 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.2238, allocations: 27.78 kB / 386 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.2239, allocations: 29.69 kB / 386 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2239, allocations: 322.8 kB / 386.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.224, allocations: 15.98 kB / 386.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.224, allocations: 43.34 kB / 386.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.2241, allocations: 71.33 kB / 386.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2241, allocations: 0 / 386.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.477e-05/0.2242, allocations: 85.95 kB / 386.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2242, allocations: 8 kB / 386.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2242, allocations: 7.922 kB / 386.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2242, allocations: 4.094 kB / 386.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.2243, allocations: 39.88 kB / 386.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.2243, allocations: 0 / 386.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.2243, allocations: 8 kB / 386.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2244, allocations: 3.984 kB / 386.6 MB, free: 13.16 MB / 362.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 5.383e-05/0.2244, allocations: 113.8 kB / 386.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.2244, allocations: 11.98 kB / 386.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.2246, allocations: 176.9 kB / 386.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2246, allocations: 0 / 386.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.2246, allocations: 0 / 386.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2246, allocations: 0 / 386.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.2247, allocations: 96.64 kB / 387 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2247, allocations: 0 / 387 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.2248, allocations: 31.91 kB / 387.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.2249, allocations: 39.89 kB / 387.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2249, allocations: 2.75 kB / 387.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.2249, allocations: 4 kB / 387.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2249, allocations: 3.938 kB / 387.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2249, allocations: 0 / 387.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.225, allocations: 137.3 kB / 387.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.225, allocations: 0 / 387.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.2251, allocations: 4 kB / 387.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2251, allocations: 11.92 kB / 387.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2251, allocations: 7.984 kB / 387.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.2252, allocations: 52.84 kB / 387.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2252, allocations: 0 / 387.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.2255, allocations: 147.5 kB / 387.5 MB, free: 12.29 MB / 362.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.0007588/0.2262, allocations: 342.2 kB / 387.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2264, allocations: 56.75 kB / 387.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.2264, allocations: 8 kB / 387.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.2264, allocations: 28.78 kB / 387.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.2265, allocations: 50.06 kB / 387.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2278, allocations: 231.8 kB / 388.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.2278, allocations: 63.34 kB / 388.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.2281, allocations: 439.6 kB / 388.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2283, allocations: 87.31 kB / 388.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2283, allocations: 0 / 388.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of Templates: time 0.008043/0.2363, allocations: 7.583 MB / 396.3 MB, free: 3.434 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.776832325384021]