Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001528/0.001528, allocations: 83.16 kB / 22 MB, free: 5.18 MB / 14.72 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.001386/0.001386, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 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 1.309/1.309, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 63.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1917, allocations: 49.13 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002378/0.1941, allocations: 1.327 MB / 349.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3529/0.5469, allocations: 129.2 MB / 479 MB, free: 1.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.547, allocations: 0.5625 kB / 479 MB, free: 1.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.547, allocations: 6.281 kB / 479 MB, free: 1.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000969/0.548, allocations: 246.7 kB / 479.2 MB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.5494, allocations: 0.631 MB / 479.9 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.5494, allocations: 59.16 kB / 479.9 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.5495, allocations: 3.719 kB / 479.9 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.5495, allocations: 23 kB / 480 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.5496, allocations: 31.97 kB / 480 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.5496, allocations: 1.688 kB / 480 MB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5508, allocations: 0.7663 MB / 480.8 MB, free: 1.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.5508, allocations: 12.66 kB / 480.8 MB, free: 1.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.5508, allocations: 21 kB / 480.8 MB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007966/0.5516, allocations: 0.5787 MB / 481.4 MB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5516, allocations: 0 / 481.4 MB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5516, allocations: 0.9062 kB / 481.4 MB, free: 1.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.5516, allocations: 0 / 481.4 MB, free: 1.426 MB / 430.1 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.0005774/0.5522, allocations: 385.5 kB / 481.7 MB, free: 17.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.5522, allocations: 15.14 kB / 481.8 MB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5532, allocations: 97.09 kB / 481.9 MB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.5535, allocations: 165 kB / 482 MB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5535, allocations: 9.625 kB / 482 MB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5535, allocations: 2.75 kB / 482 MB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.5537, allocations: 95.09 kB / 482.1 MB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5537, allocations: 4.828 kB / 482.1 MB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5537, allocations: 0 / 482.1 MB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5537, allocations: 1.375 kB / 482.1 MB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.5539, allocations: 48.78 kB / 482.2 MB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.5541, allocations: 148.4 kB / 482.3 MB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.5545, allocations: 123.2 kB / 482.4 MB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.5546, allocations: 41.83 kB / 482.5 MB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.5548, allocations: 95.75 kB / 482.6 MB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.5548, allocations: 31.66 kB / 482.6 MB, free: 16.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.5548, allocations: 1 kB / 482.6 MB, free: 16.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004406/0.5553, allocations: 132.5 kB / 482.7 MB, free: 16.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5553, allocations: 82.45 kB / 482.8 MB, free: 16.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5555, allocations: 155.6 kB / 483 MB, free: 16.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.5555, allocations: 29.8 kB / 483 MB, free: 16.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.5556, allocations: 84.08 kB / 483.1 MB, free: 16.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.5556, allocations: 22.69 kB / 483.1 MB, free: 16.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.5557, allocations: 30.69 kB / 483.1 MB, free: 16.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5558, allocations: 321.3 kB / 483.4 MB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.5559, allocations: 28.55 kB / 483.5 MB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.556, allocations: 50.62 kB / 483.5 MB, free: 15.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.5562, allocations: 88.08 kB / 483.6 MB, free: 15.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5562, allocations: 4.781 kB / 483.6 MB, free: 15.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003149/0.5565, allocations: 127.9 kB / 483.7 MB, free: 15.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5565, allocations: 6.969 kB / 483.7 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5565, allocations: 0 / 483.7 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5565, allocations: 3.438 kB / 483.8 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.5566, allocations: 30.52 kB / 483.8 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5566, allocations: 2.188 kB / 483.8 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.5568, allocations: 3.594 kB / 483.8 MB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.5568, allocations: 10.08 kB / 483.8 MB, free: 15.88 MB / 446.1 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 0.0001031/0.5569, allocations: 116.1 kB / 483.9 MB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.557, allocations: 18.03 kB / 483.9 MB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.5575, allocations: 249.9 kB / 484.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5575, allocations: 0 / 484.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5575, allocations: 2.188 kB / 484.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5575, allocations: 3.75 kB / 484.2 MB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5576, allocations: 153.5 kB / 484.3 MB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5576, allocations: 0.8125 kB / 484.3 MB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.5578, allocations: 30.14 kB / 484.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5578, allocations: 0.9062 kB / 484.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5578, allocations: 5.938 kB / 484.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5578, allocations: 3.094 kB / 484.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5578, allocations: 3.688 kB / 484.4 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.5582, allocations: 174.3 kB / 484.5 MB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.5582, allocations: 14.52 kB / 484.6 MB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.5583, allocations: 9.172 kB / 484.6 MB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5584, allocations: 2.562 kB / 484.6 MB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.5585, allocations: 9.125 kB / 484.6 MB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5585, allocations: 5.312 kB / 484.6 MB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5586, allocations: 132.8 kB / 484.7 MB, free: 15.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5586, allocations: 0 / 484.7 MB, free: 15.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.5591, allocations: 175.4 kB / 484.9 MB, free: 15.4 MB / 446.1 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.000684/0.5598, allocations: 399.8 kB / 485.3 MB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.5601, allocations: 73.12 kB / 485.3 MB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5601, allocations: 0.8438 kB / 485.3 MB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.5602, allocations: 42.5 kB / 485.4 MB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.5604, allocations: 15.72 kB / 485.4 MB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.5609, allocations: 303.5 kB / 485.7 MB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.5609, allocations: 79.05 kB / 485.8 MB, free: 15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000431/0.5614, allocations: 438.1 kB / 486.2 MB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5615, allocations: 43.14 kB / 486.2 MB, free: 14.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5615, allocations: 0 / 486.2 MB, free: 14.97 MB / 446.1 MB Notification: Performance of Templates: time 0.00909/0.5706, allocations: 6.362 MB / 492.6 MB, free: 14.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.68769082298968]