Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001297/0.001297, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001491/0.001491, allocations: 168.3 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8717/0.8717, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.944e-05, allocations: 2.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002746/0.002776, allocations: 1.4 MB / 252.4 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.2291/0.2319, allocations: 143.7 MB / 396.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2319, allocations: 0 / 396.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.232, allocations: 7.922 kB / 396.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.233, allocations: 368.2 kB / 396.5 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2344, allocations: 0.8209 MB / 397.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2345, allocations: 83.56 kB / 397.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.2346, allocations: 0 / 397.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.2346, allocations: 39.84 kB / 397.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.2347, allocations: 35.89 kB / 397.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2347, allocations: 4 kB / 397.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2362, allocations: 1.196 MB / 398.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.2363, allocations: 19.91 kB / 398.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2363, allocations: 19.94 kB / 398.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.2377, allocations: 0.9428 MB / 399.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2377, allocations: 0 / 399.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2377, allocations: 0 / 399.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2377, allocations: 0 / 399.7 MB, free: 3.43 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.0005831/0.2383, allocations: 0.4959 MB / 400.2 MB, free: 2.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2383, allocations: 11.98 kB / 400.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.2386, allocations: 44.84 kB / 400.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2387, allocations: 136.5 kB / 400.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2387, allocations: 384 / 400.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2387, allocations: 4.375 kB / 400.4 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2389, allocations: 78.27 kB / 400.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2389, allocations: 3.938 kB / 400.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2389, allocations: 11.98 kB / 400.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2389, allocations: 0 / 400.4 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.2389, allocations: 8 kB / 400.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.2391, allocations: 136.4 kB / 400.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.2393, allocations: 86.09 kB / 400.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.2393, allocations: 31.42 kB / 400.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.2395, allocations: 47.95 kB / 400.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2396, allocations: 49.31 kB / 400.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2396, allocations: 0 / 400.8 MB, free: 2.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.2398, allocations: 73.5 kB / 400.9 MB, free: 2.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2398, allocations: 81.11 kB / 400.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.2399, allocations: 185.6 kB / 401.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2399, allocations: 37.7 kB / 401.2 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.24, allocations: 134.9 kB / 401.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.24, allocations: 27.73 kB / 401.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.24, allocations: 27.36 kB / 401.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2401, allocations: 0.4884 MB / 401.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.2401, allocations: 7.938 kB / 401.8 MB, free: 1.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.2402, allocations: 46.73 kB / 401.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.2402, allocations: 67.03 kB / 402 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2403, allocations: 7.125 kB / 402 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.2404, allocations: 73.62 kB / 402 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2404, allocations: 7.984 kB / 402 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2404, allocations: 3.938 kB / 402.1 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2404, allocations: 7.938 kB / 402.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.2404, allocations: 12 kB / 402.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2405, allocations: 0 / 402.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.2405, allocations: 11.89 kB / 402.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2405, allocations: 3.984 kB / 402.1 MB, free: 0.7422 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 5.837e-05/0.2405, allocations: 164.6 kB / 402.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2406, allocations: 7.953 kB / 402.3 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.2407, allocations: 82.03 kB / 402.3 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2407, allocations: 3.938 kB / 402.3 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2407, allocations: 4 kB / 402.3 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2407, allocations: 0 / 402.3 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.82e-05/0.2408, allocations: 128.6 kB / 402.5 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2408, allocations: 0 / 402.5 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.2408, allocations: 11.94 kB / 402.5 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2408, allocations: 4 kB / 402.5 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2408, allocations: 4 kB / 402.5 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2408, allocations: 3.984 kB / 402.5 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2408, allocations: 3.938 kB / 402.5 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.241, allocations: 120 kB / 402.6 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.241, allocations: 11.94 kB / 402.6 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.241, allocations: 0.875 kB / 402.6 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.241, allocations: 11.98 kB / 402.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2411, allocations: 3.938 kB / 402.6 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2411, allocations: 4 kB / 402.6 MB, free: 112 kB / 330.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.2412, allocations: 147.1 kB / 402.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2412, allocations: 7.969 kB / 402.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.2416, allocations: 207.3 kB / 403 MB, free: 15.75 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 (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.0008915/0.2425, allocations: 0.5479 MB / 403.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.2426, allocations: 35.61 kB / 403.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2426, allocations: 4 kB / 403.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.2426, allocations: 19.67 kB / 403.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2428, allocations: 39.64 kB / 403.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.2434, allocations: 258.3 kB / 403.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.2434, allocations: 59.34 kB / 404 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.2435, allocations: 23.86 kB / 404 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.2435, allocations: 20.5 kB / 404 MB, free: 14.7 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.2435, allocations: 0 / 404 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Templates: time 0.009695/0.2532, allocations: 8.162 MB / 412.2 MB, free: 6.562 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0022540432401]