Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_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.001283/0.001283, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001522/0.001522, allocations: 141.9 kB / 25.59 MB, free: 8.91 MB / 18.57 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 0.8464/0.8464, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] 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.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.18e-05, allocations: 6.25 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001471/0.001483, allocations: 1.385 MB / 270.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.004748, allocations: 3.971 MB / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.004775, allocations: 0 / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.004788, allocations: 0 / 274.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.005531, allocations: 298.7 kB / 274.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.006264, allocations: 0.5173 MB / 275.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.006332, allocations: 67.64 kB / 275.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.584e-05/0.006358, allocations: 3.938 kB / 275.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.006894, allocations: 447.1 kB / 275.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.356e-05/0.006928, allocations: 23.97 kB / 275.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.006938, allocations: 4 kB / 275.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.007496, allocations: 0.5455 MB / 276.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.007505, allocations: 0 / 276.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.007525, allocations: 23.92 kB / 276.5 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.007985, allocations: 478.8 kB / 276.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.007986, allocations: 0 / 276.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.007987, allocations: 0 / 276.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.00799, allocations: 0 / 276.9 MB, free: 2.039 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.0003238/0.008314, allocations: 471.5 kB / 277.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.008341, allocations: 12.92 kB / 277.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.008368, allocations: 8.891 kB / 277.4 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.008459, allocations: 132.5 kB / 277.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.008472, allocations: 4.375 kB / 277.5 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.008485, allocations: 4.375 kB / 277.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.008568, allocations: 74.08 kB / 277.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.008575, allocations: 3.984 kB / 277.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.008581, allocations: 4 kB / 277.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.008584, allocations: 0 / 277.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.008608, allocations: 15.92 kB / 277.6 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.349e-05/0.008701, allocations: 109 kB / 277.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.00884, allocations: 90.17 kB / 277.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.008861, allocations: 27.42 kB / 277.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.009055, allocations: 123.9 kB / 278 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.009072, allocations: 37.39 kB / 278 MB, free: 0.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.009072, allocations: 0 / 278 MB, free: 0.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001163/0.009189, allocations: 77.5 kB / 278.1 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.009217, allocations: 77.11 kB / 278.2 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.009279, allocations: 169.9 kB / 278.3 MB, free: 444 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.009287, allocations: 25.7 kB / 278.4 MB, free: 412 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.009319, allocations: 130.9 kB / 278.5 MB, free: 276 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.009345, allocations: 31.78 kB / 278.5 MB, free: 244 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.009372, allocations: 31.3 kB / 278.5 MB, free: 204 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.009478, allocations: 0.4884 MB / 279 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.009489, allocations: 4 kB / 279 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.009519, allocations: 46.67 kB / 279.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.009566, allocations: 63.02 kB / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.009569, allocations: 4 kB / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.187e-05/0.009641, allocations: 69.61 kB / 279.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.00965, allocations: 8 kB / 279.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.009654, allocations: 0 / 279.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.009662, allocations: 3.938 kB / 279.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.009702, allocations: 16 kB / 279.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.009706, allocations: 7.984 kB / 279.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.009727, allocations: 7.891 kB / 279.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.009734, allocations: 4 kB / 279.3 MB, free: 15.43 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 5.44e-05/0.009788, allocations: 156.6 kB / 279.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.009798, allocations: 4.062 kB / 279.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.009933, allocations: 105.5 kB / 279.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.009939, allocations: 7.922 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.009942, allocations: 8 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009946, allocations: 0 / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.021e-05/0.01002, allocations: 105.2 kB / 279.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01002, allocations: 0 / 279.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.01006, allocations: 19.98 kB / 279.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.01006, allocations: 0 / 279.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.01006, allocations: 0 / 279.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01007, allocations: 7.938 kB / 279.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01007, allocations: 4 kB / 279.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.01018, allocations: 124.5 kB / 279.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.0102, allocations: 7.984 kB / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.01021, allocations: 4 kB / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.01023, allocations: 7.984 kB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.01025, allocations: 7.938 kB / 279.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01026, allocations: 3.984 kB / 279.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.01029, allocations: 131.2 kB / 280 MB, free: 14.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01029, allocations: 0 / 280 MB, free: 14.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01055, allocations: 139.6 kB / 280.1 MB, free: 14.53 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.0003801/0.01093, allocations: 324.4 kB / 280.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.011, allocations: 43.58 kB / 280.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.011, allocations: 0 / 280.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.01104, allocations: 23.69 kB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.01116, allocations: 11.94 kB / 280.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.0116, allocations: 273.8 kB / 280.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.629e-05/0.01163, allocations: 59.34 kB / 280.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.01168, allocations: 37.08 kB / 280.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.01173, allocations: 90.19 kB / 280.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01173, allocations: 0 / 280.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of Templates: time 0.004444/0.01618, allocations: 3.701 MB / 284.6 MB, free: 10 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.562397005967796]