Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008959/0.0008959, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009178/0.0009178, allocations: 162.9 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9214/0.9214, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.184e-05, allocations: 2.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001509/0.00152, allocations: 1.457 MB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.004733, allocations: 4.048 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.004758, allocations: 3.938 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.004773, allocations: 0 / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.005439, allocations: 294.7 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.005986, allocations: 497.8 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.006055, allocations: 71.58 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.629e-05/0.006082, allocations: 7.938 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.006708, allocations: 423.2 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.00674, allocations: 27.91 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.006751, allocations: 4 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.007337, allocations: 0.5845 MB / 280.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.007347, allocations: 11.92 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.007364, allocations: 11.98 kB / 280.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.007801, allocations: 486.7 kB / 281.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.007803, allocations: 0 / 281.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007804, allocations: 3.984 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.007807, allocations: 0 / 281.3 MB, free: 9.258 MB / 266.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.000275/0.008082, allocations: 343.9 kB / 281.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.522e-05/0.008108, allocations: 15.98 kB / 281.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.008128, allocations: 8.938 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.008225, allocations: 125.7 kB / 281.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.008236, allocations: 4.375 kB / 281.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.008248, allocations: 384 / 281.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.008329, allocations: 76.41 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.008334, allocations: 0 / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.008339, allocations: 0 / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.008343, allocations: 0 / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.008365, allocations: 11.94 kB / 281.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.031e-05/0.008446, allocations: 77.84 kB / 282 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.008568, allocations: 65.2 kB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.008586, allocations: 17.72 kB / 282 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.008779, allocations: 135.8 kB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.008796, allocations: 38.56 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.008797, allocations: 0 / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.67e-05/0.008894, allocations: 61.59 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.008921, allocations: 85.05 kB / 282.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.008968, allocations: 110.7 kB / 282.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.008977, allocations: 29.7 kB / 282.5 MB, free: 7.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.008996, allocations: 88.14 kB / 282.6 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.00902, allocations: 19.8 kB / 282.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.009045, allocations: 25.69 kB / 282.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.009107, allocations: 318.8 kB / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.009118, allocations: 7.984 kB / 282.9 MB, free: 7.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.009142, allocations: 27.44 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.009188, allocations: 55.69 kB / 283 MB, free: 7.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.009189, allocations: 0 / 283 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.156e-05/0.009251, allocations: 69.55 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.00926, allocations: 8 kB / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.009264, allocations: 0 / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.009274, allocations: 0 / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.009312, allocations: 19.92 kB / 283.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.009315, allocations: 7.938 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.009333, allocations: 0 / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.00934, allocations: 4.469 kB / 283.1 MB, free: 7.23 MB / 266.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 4.56e-05/0.009386, allocations: 121.7 kB / 283.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.009394, allocations: 12.05 kB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.009511, allocations: 92.28 kB / 283.3 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.009518, allocations: 4 kB / 283.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.009521, allocations: 3.938 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.009523, allocations: 0 / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.065e-05/0.009584, allocations: 84.66 kB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009586, allocations: 0 / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.009623, allocations: 12 kB / 283.4 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009624, allocations: 4 kB / 283.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.00963, allocations: 7.984 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009631, allocations: 0 / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009632, allocations: 0 / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.482e-05/0.009726, allocations: 115.5 kB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.009743, allocations: 11.94 kB / 283.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.009752, allocations: 4 kB / 283.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.009767, allocations: 4 kB / 283.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.009791, allocations: 7.984 kB / 283.6 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.009797, allocations: 7.938 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.357e-05/0.00981, allocations: 20.83 kB / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00981, allocations: 4.031 kB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01002, allocations: 135.5 kB / 283.8 MB, free: 6.535 MB / 266.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.0003052/0.01032, allocations: 279.9 kB / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.01039, allocations: 44.77 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01039, allocations: 0 / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.01042, allocations: 24.78 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.159e-05/0.0105, allocations: 11.98 kB / 284.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.01092, allocations: 236.3 kB / 284.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.495e-05/0.01094, allocations: 63.28 kB / 284.4 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.4e-05/0.01099, allocations: 35.72 kB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.01105, allocations: 75.36 kB / 284.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01105, allocations: 0 / 284.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of Templates: time 0.005433/0.01648, allocations: 3.698 MB / 288.2 MB, free: 2.078 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.621068994048983]