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.0009279/0.0009279, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00128/0.00128, allocations: 143.9 kB / 24.89 MB, free: 8.785 MB / 18.57 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.8645/0.8645, allocations: 173.4 MB / 201.5 MB, free: 8.289 MB / 186.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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.35e-05, allocations: 3.125 kB / 268.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002019/0.002032, allocations: 1.432 MB / 269.9 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.234/0.236, allocations: 141.1 MB / 411 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.2361, allocations: 0 / 411 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.2361, allocations: 3.938 kB / 411 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.2367, allocations: 240.8 kB / 411.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.2373, allocations: 393.3 kB / 411.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.2374, allocations: 63.64 kB / 411.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.06e-05/0.2374, allocations: 4 kB / 411.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.2375, allocations: 39.89 kB / 411.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.2376, allocations: 23.97 kB / 411.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2376, allocations: 0 / 411.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.2383, allocations: 0.6001 MB / 412.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.2383, allocations: 7.984 kB / 412.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.2383, allocations: 19.92 kB / 412.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.2388, allocations: 0.5299 MB / 412.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2388, allocations: 0 / 412.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2388, allocations: 0 / 412.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.2388, allocations: 0 / 412.9 MB, free: 7.754 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.0002968/0.2391, allocations: 328.5 kB / 413.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.2391, allocations: 12.03 kB / 413.3 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.2397, allocations: 101.5 kB / 413.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2398, allocations: 206.3 kB / 413.6 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2398, allocations: 15.25 kB / 413.6 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.2399, allocations: 3.938 kB / 413.6 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.24, allocations: 99.3 kB / 413.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.24, allocations: 0 / 413.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.24, allocations: 0 / 413.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.24, allocations: 0 / 413.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.24, allocations: 39.88 kB / 413.7 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.2401, allocations: 77.89 kB / 413.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.2403, allocations: 101.2 kB / 413.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.2404, allocations: 29.7 kB / 413.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.2405, allocations: 96.52 kB / 414 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2405, allocations: 42.5 kB / 414.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.2405, allocations: 0 / 414.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001584/0.2407, allocations: 97.5 kB / 414.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2407, allocations: 77.11 kB / 414.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.2408, allocations: 152.5 kB / 414.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2408, allocations: 25.7 kB / 414.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.2408, allocations: 88.12 kB / 414.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2409, allocations: 27.78 kB / 414.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.2409, allocations: 25.69 kB / 414.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.241, allocations: 318.8 kB / 414.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.241, allocations: 23.97 kB / 414.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.241, allocations: 39.42 kB / 414.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.2411, allocations: 75.3 kB / 415 MB, free: 5.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2411, allocations: 4 kB / 415 MB, free: 5.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.885e-05/0.2412, allocations: 85.52 kB / 415.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2412, allocations: 8 kB / 415.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2412, allocations: 8 kB / 415.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.2412, allocations: 0 / 415.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.2413, allocations: 31.95 kB / 415.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.2413, allocations: 3.281 kB / 415.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.2414, allocations: 4 kB / 415.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2414, allocations: 8.453 kB / 415.2 MB, free: 5.348 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.881e-05/0.2414, allocations: 121.7 kB / 415.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2414, allocations: 4 kB / 415.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.2416, allocations: 180.2 kB / 415.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2416, allocations: 0 / 415.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.2416, allocations: 0 / 415.5 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2416, allocations: 7.984 kB / 415.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.426e-05/0.2417, allocations: 92.67 kB / 415.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2417, allocations: 0 / 415.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.2418, allocations: 23.95 kB / 415.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2418, allocations: 4 kB / 415.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2418, allocations: 0 / 415.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2418, allocations: 7.938 kB / 415.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2418, allocations: 3.938 kB / 415.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2419, allocations: 131.6 kB / 415.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.242, allocations: 35.91 kB / 415.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.242, allocations: 4.734 kB / 415.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.2421, allocations: 8 kB / 415.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.2421, allocations: 11.86 kB / 415.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2421, allocations: 4 kB / 415.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.2422, allocations: 52.81 kB / 415.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2422, allocations: 0 / 415.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.2424, allocations: 139.6 kB / 416 MB, free: 4.477 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.0004693/0.2429, allocations: 324.2 kB / 416.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.243, allocations: 56.75 kB / 416.3 MB, free: 4.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.243, allocations: 4.75 kB / 416.3 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.243, allocations: 33.34 kB / 416.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.2432, allocations: 31.89 kB / 416.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.2436, allocations: 243.8 kB / 416.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.2436, allocations: 63.34 kB / 416.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.244, allocations: 431.3 kB / 417.1 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2441, allocations: 87.33 kB / 417.2 MB, free: 3.184 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2441, allocations: 4 kB / 417.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of Templates: time 0.007308/0.2514, allocations: 7.321 MB / 424.5 MB, free: 11.92 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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.9250349132344127]