Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001322/0.001322, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0008606/0.0008606, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.8847/0.8847, allocations: 173.4 MB / 201.1 MB, free: 9.355 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 268 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.285e-05, allocations: 2.312 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002349/0.002372, allocations: 1.401 MB / 269.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2147/0.2171, allocations: 142.1 MB / 411.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.2172, allocations: 0 / 411.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.2172, allocations: 3.938 kB / 411.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.2185, allocations: 384.8 kB / 411.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.2193, allocations: 0.5368 MB / 412.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.2194, allocations: 71.66 kB / 412.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.2194, allocations: 0 / 412.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.2195, allocations: 51.81 kB / 412.5 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.2196, allocations: 31.95 kB / 412.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2196, allocations: 4 kB / 412.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2209, allocations: 0.9346 MB / 413.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.2209, allocations: 15.92 kB / 413.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.221, allocations: 19.98 kB / 413.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.2218, allocations: 0.748 MB / 414.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2219, allocations: 0 / 414.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2219, allocations: 0 / 414.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2219, allocations: 3.938 kB / 414.2 MB, free: 7.242 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.000485/0.2223, allocations: 491.8 kB / 414.7 MB, free: 6.727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2224, allocations: 12.92 kB / 414.7 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.2227, allocations: 68.81 kB / 414.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2228, allocations: 132.5 kB / 414.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2228, allocations: 384 / 414.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.2229, allocations: 8.547 kB / 414.9 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.223, allocations: 81.64 kB / 415 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.223, allocations: 0 / 415 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.223, allocations: 8 kB / 415 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.223, allocations: 0 / 415 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.409e-05/0.2231, allocations: 11.98 kB / 415 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.2232, allocations: 144.3 kB / 415.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.2234, allocations: 86.09 kB / 415.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.2234, allocations: 27.44 kB / 415.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.2237, allocations: 47.94 kB / 415.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2237, allocations: 41.39 kB / 415.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2237, allocations: 0 / 415.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001873/0.2239, allocations: 85.44 kB / 415.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2239, allocations: 77.11 kB / 415.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.224, allocations: 193.8 kB / 415.7 MB, free: 5.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.224, allocations: 25.7 kB / 415.8 MB, free: 5.523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.224, allocations: 130.9 kB / 415.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2241, allocations: 27.78 kB / 415.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2241, allocations: 31.36 kB / 415.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.2242, allocations: 0.4884 MB / 416.4 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.2242, allocations: 8 kB / 416.4 MB, free: 4.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.2242, allocations: 46.73 kB / 416.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.2243, allocations: 59.05 kB / 416.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2243, allocations: 4 kB / 416.5 MB, free: 4.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001086/0.2244, allocations: 77.56 kB / 416.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2244, allocations: 7.938 kB / 416.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2244, allocations: 4 kB / 416.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2244, allocations: 4.062 kB / 416.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.2245, allocations: 19.92 kB / 416.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2245, allocations: 4 kB / 416.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.2245, allocations: 7.891 kB / 416.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2245, allocations: 8 kB / 416.7 MB, free: 4.539 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.55e-05/0.2246, allocations: 152.6 kB / 416.8 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2246, allocations: 15.98 kB / 416.8 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.2247, allocations: 84.38 kB / 416.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2247, allocations: 0 / 416.9 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2247, allocations: 7.984 kB / 416.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2247, allocations: 4 kB / 416.9 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.749e-05/0.2248, allocations: 128.6 kB / 417.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2248, allocations: 11.25 kB / 417.1 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.2249, allocations: 8 kB / 417.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2249, allocations: 0 / 417.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2249, allocations: 4 kB / 417.1 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2249, allocations: 3.938 kB / 417.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2249, allocations: 0 / 417.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.225, allocations: 124 kB / 417.2 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.225, allocations: 15.97 kB / 417.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2251, allocations: 0 / 417.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.2251, allocations: 11.94 kB / 417.2 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.2251, allocations: 3.984 kB / 417.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2251, allocations: 4 kB / 417.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.2252, allocations: 143.8 kB / 417.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2252, allocations: 0 / 417.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.2255, allocations: 167.4 kB / 417.5 MB, free: 3.59 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 (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.0007097/0.2262, allocations: 454.1 kB / 418 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.2263, allocations: 35.66 kB / 418 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2263, allocations: 4 kB / 418 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.2263, allocations: 19.62 kB / 418 MB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2265, allocations: 36.36 kB / 418.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.2271, allocations: 262.1 kB / 418.3 MB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.2271, allocations: 59.3 kB / 418.4 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.2271, allocations: 23.36 kB / 418.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.2272, allocations: 20.5 kB / 418.4 MB, free: 2.648 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2272, allocations: 0 / 418.4 MB, free: 2.648 MB / 362.7 MB Notification: Performance of Templates: time 0.01304/0.2402, allocations: 6.286 MB / 424.7 MB, free: 12.42 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.9860569308511913]