Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.0009655/0.0009655, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.000949/0.000949, allocations: 165.5 kB / 25.33 MB, free: 8.594 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.9049/0.9049, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.017e-05, allocations: 2.312 kB / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002859/0.002889, allocations: 1.39 MB / 252.4 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009049/0.01194, allocations: 7.149 MB / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.01199, allocations: 0 / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.01202, allocations: 3.938 kB / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.01311, allocations: 298.7 kB / 259.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.01436, allocations: 0.7238 MB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.01445, allocations: 55.67 kB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.01449, allocations: 7.984 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006843/0.01517, allocations: 455.1 kB / 261.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.01521, allocations: 15.98 kB / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.01523, allocations: 0 / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.01615, allocations: 0.7287 MB / 261.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.01617, allocations: 8 kB / 261.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.01619, allocations: 11.94 kB / 261.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.01701, allocations: 0.6233 MB / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01702, allocations: 0 / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01702, allocations: 0 / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.01702, allocations: 0 / 262.5 MB, free: 12.02 MB / 250.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.0004853/0.01751, allocations: 0.4915 MB / 263 MB, free: 11.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.01755, allocations: 15.98 kB / 263 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.0176, allocations: 4.938 kB / 263 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.01772, allocations: 124.5 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.01774, allocations: 4.375 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.01776, allocations: 4.375 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.01789, allocations: 78.27 kB / 263.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.0179, allocations: 4.188 kB / 263.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.01791, allocations: 4.125 kB / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.01792, allocations: 3.984 kB / 263.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.01795, allocations: 11.98 kB / 263.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.01808, allocations: 132.3 kB / 263.4 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.01828, allocations: 90.19 kB / 263.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.01831, allocations: 27.42 kB / 263.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.01856, allocations: 123.9 kB / 263.6 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01859, allocations: 41.39 kB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.01859, allocations: 0 / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001726/0.01876, allocations: 73.56 kB / 263.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.0188, allocations: 92.97 kB / 263.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.01888, allocations: 165.9 kB / 264 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.01889, allocations: 29.7 kB / 264 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.01893, allocations: 134.8 kB / 264.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.01896, allocations: 23.8 kB / 264.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.01899, allocations: 27.36 kB / 264.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.0191, allocations: 0.4884 MB / 264.7 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.01912, allocations: 11.98 kB / 264.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.01915, allocations: 42.75 kB / 264.7 MB, free: 9.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.01921, allocations: 67.03 kB / 264.8 MB, free: 9.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01921, allocations: 0 / 264.8 MB, free: 9.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.074e-05/0.01931, allocations: 77.56 kB / 264.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01932, allocations: 4 kB / 264.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.01932, allocations: 4 kB / 264.9 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01934, allocations: 4.062 kB / 264.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.01938, allocations: 23.86 kB / 264.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01939, allocations: 0 / 264.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.01941, allocations: 4 kB / 264.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01942, allocations: 4 kB / 264.9 MB, free: 9.336 MB / 250.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 6.43e-05/0.01949, allocations: 156.6 kB / 265 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.0195, allocations: 7.953 kB / 265.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.01969, allocations: 109.5 kB / 265.2 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.01969, allocations: 4 kB / 265.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.0197, allocations: 3.938 kB / 265.2 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.0197, allocations: 0 / 265.2 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.01979, allocations: 136.5 kB / 265.3 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.01979, allocations: 0 / 265.3 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.01984, allocations: 11.98 kB / 265.3 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01985, allocations: 0 / 265.3 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01986, allocations: 4 kB / 265.3 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01986, allocations: 0 / 265.3 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01986, allocations: 0 / 265.3 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.02001, allocations: 136 kB / 265.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.02003, allocations: 19.97 kB / 265.5 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.02005, allocations: 0 / 265.5 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.02006, allocations: 4 kB / 265.5 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.0201, allocations: 7.922 kB / 265.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.0201, allocations: 4 kB / 265.5 MB, free: 8.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.05e-05/0.02014, allocations: 139.7 kB / 265.6 MB, free: 8.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02014, allocations: 3.938 kB / 265.6 MB, free: 8.527 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.02048, allocations: 175.4 kB / 265.8 MB, free: 8.355 MB / 250.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 (7): * Single equations (assignments): 6 * 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.0006223/0.0211, allocations: 407.6 kB / 266.2 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.02121, allocations: 47.59 kB / 266.2 MB, free: 7.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.02121, allocations: 0 / 266.2 MB, free: 7.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.02126, allocations: 31.61 kB / 266.3 MB, free: 7.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.02142, allocations: 12 kB / 266.3 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.02202, allocations: 261 kB / 266.5 MB, free: 7.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.02205, allocations: 59.36 kB / 266.6 MB, free: 7.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.0221, allocations: 30.78 kB / 266.6 MB, free: 7.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.02214, allocations: 20.48 kB / 266.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02214, allocations: 0 / 266.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of Templates: time 0.006121/0.02826, allocations: 4.833 MB / 271.5 MB, free: 2.629 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_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.57435261271894]