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.001728/0.001728, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.002044/0.002044, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.391/1.391, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00152/0.00152, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2317, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00254/0.2342, allocations: 1.374 MB / 422.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3807/0.6149, allocations: 149.2 MB / 0.558 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.6149, allocations: 0 / 0.558 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.615, allocations: 4.781 kB / 0.558 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.6156, allocations: 241.2 kB / 0.5583 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.6164, allocations: 400.8 kB / 0.5586 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.6165, allocations: 58.22 kB / 0.5587 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.6165, allocations: 1.094 kB / 0.5587 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.6166, allocations: 27.5 kB / 0.5587 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.6167, allocations: 32.59 kB / 0.5588 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.6167, allocations: 0 / 0.5588 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.6176, allocations: 0.6877 MB / 0.5594 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.6176, allocations: 10.33 kB / 0.5594 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.6176, allocations: 21.16 kB / 0.5595 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.6182, allocations: 0.4887 MB / 0.5599 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6182, allocations: 2.344 kB / 0.5599 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6182, allocations: 0 / 0.5599 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.6182, allocations: 0 / 0.5599 GB, free: 15.59 MB / 462.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.0005698/0.6188, allocations: 433.2 kB / 0.5604 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6188, allocations: 10.28 kB / 0.5604 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6198, allocations: 97.8 kB / 0.5605 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.6201, allocations: 215.7 kB / 0.5607 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6201, allocations: 3.438 kB / 0.5607 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.6201, allocations: 6.578 kB / 0.5607 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.6204, allocations: 93.88 kB / 0.5608 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6204, allocations: 2.094 kB / 0.5608 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6204, allocations: 8.812 kB / 0.5608 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.6204, allocations: 0 / 0.5608 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.6205, allocations: 47.62 kB / 0.5608 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.6208, allocations: 203.1 kB / 0.561 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.6213, allocations: 121.1 kB / 0.5611 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.6214, allocations: 39.36 kB / 0.5612 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.6221, allocations: 0.9888 MB / 0.5621 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.6221, allocations: 33.78 kB / 0.5622 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.6221, allocations: 4 kB / 0.5622 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004459/0.6226, allocations: 133.7 kB / 0.5623 GB, free: 13.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6226, allocations: 84.11 kB / 0.5624 GB, free: 13.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.6228, allocations: 156.8 kB / 0.5625 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.6229, allocations: 25.7 kB / 0.5626 GB, free: 13.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.6229, allocations: 83.27 kB / 0.5626 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.6229, allocations: 25.86 kB / 0.5627 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.623, allocations: 33.23 kB / 0.5627 GB, free: 13.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6232, allocations: 323.5 kB / 0.563 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.6233, allocations: 28.11 kB / 0.563 GB, free: 12.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6234, allocations: 50.88 kB / 0.5631 GB, free: 12.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.6236, allocations: 87.77 kB / 0.5632 GB, free: 12.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6236, allocations: 0 / 0.5632 GB, free: 12.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003032/0.6239, allocations: 118.2 kB / 0.5633 GB, free: 12.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6239, allocations: 6.188 kB / 0.5633 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6239, allocations: 0 / 0.5633 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6239, allocations: 2.719 kB / 0.5633 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.6241, allocations: 28.33 kB / 0.5633 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6241, allocations: 5.266 kB / 0.5633 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6243, allocations: 9.25 kB / 0.5633 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.6243, allocations: 12.27 kB / 0.5633 GB, free: 12.68 MB / 462.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.0001005/0.6244, allocations: 126.1 kB / 0.5634 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.6244, allocations: 2.031 kB / 0.5635 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.6249, allocations: 247.9 kB / 0.5637 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.6249, allocations: 2.812 kB / 0.5637 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.625, allocations: 64 / 0.5637 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.625, allocations: 4 kB / 0.5637 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.6252, allocations: 222.7 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6252, allocations: 0 / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.6253, allocations: 21.88 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6253, allocations: 4 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6254, allocations: 5.594 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6254, allocations: 3 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6254, allocations: 2.156 kB / 0.5639 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.6258, allocations: 177 kB / 0.5641 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.6258, allocations: 92.73 kB / 0.5642 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6259, allocations: 6.969 kB / 0.5642 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.626, allocations: 6.031 kB / 0.5642 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.6261, allocations: 12.88 kB / 0.5642 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.6261, allocations: 5.469 kB / 0.5642 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.6263, allocations: 127 kB / 0.5643 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6263, allocations: 2.344 kB / 0.5644 GB, free: 12.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.6267, allocations: 139.3 kB / 0.5645 GB, free: 12.01 MB / 462.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.0006705/0.6274, allocations: 318.9 kB / 0.5648 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.6276, allocations: 84.23 kB / 0.5649 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6276, allocations: 0 / 0.5649 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.6277, allocations: 37.44 kB / 0.5649 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.6279, allocations: 15.62 kB / 0.5649 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.6285, allocations: 305 kB / 0.5652 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.6288, allocations: 0.6915 MB / 0.5659 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.6292, allocations: 437.1 kB / 0.5663 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.6294, allocations: 35.28 kB / 0.5663 GB, free: 10.91 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6294, allocations: 4 kB / 0.5663 GB, free: 10.9 MB / 462.1 MB Notification: Performance of Templates: time 0.008215/0.6376, allocations: 5.226 MB / 0.5714 GB, free: 10.37 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.886875652708113]