Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.001857/0.001857, allocations: 84.47 kB / 20.68 MB, free: 1.023 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.00158/0.00158, allocations: 164.4 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.843e-05, allocations: 2.281 kB / 325 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003325/0.003354, allocations: 1.684 MB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.004593, allocations: 0.5196 MB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.004705, allocations: 5.188 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.00484, allocations: 11.97 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.005075, allocations: 26.88 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.005359, allocations: 66.17 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.005563, allocations: 98.69 kB / 327.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.005728, allocations: 30.06 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.005949, allocations: 65.66 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.006064, allocations: 29.06 kB / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.006097, allocations: 6.438 kB / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.006158, allocations: 12.91 kB / 327.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.006237, allocations: 24.31 kB / 327.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.006294, allocations: 28.58 kB / 327.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.006547, allocations: 91.28 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.006553, allocations: 0.75 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006554, allocations: 0 / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.006561, allocations: 0 / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008057/0.007366, allocations: 338 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.007421, allocations: 9.938 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.007617, allocations: 23.64 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.007917, allocations: 149.2 kB / 328.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.007935, allocations: 4.5 kB / 328.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.007971, allocations: 12.36 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.008205, allocations: 86.3 kB / 328.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.008219, allocations: 3.938 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.008232, allocations: 0 / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.008245, allocations: 2.531 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.008382, allocations: 37.61 kB / 328.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.008999, allocations: 294.5 kB / 328.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.009217, allocations: 62.03 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.009299, allocations: 30.27 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.009321, allocations: 1.25 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.009359, allocations: 31.47 kB / 328.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.00936, allocations: 3.938 kB / 328.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.000348/0.009708, allocations: 97.69 kB / 328.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.009756, allocations: 55.41 kB / 329 MB, free: 13.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.00994, allocations: 152.5 kB / 329.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.009966, allocations: 26.83 kB / 329.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.01005, allocations: 110 kB / 329.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.01009, allocations: 19.55 kB / 329.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.01016, allocations: 20.88 kB / 329.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.01038, allocations: 320.3 kB / 329.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.01045, allocations: 21.56 kB / 329.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.01051, allocations: 18.75 kB / 329.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.01065, allocations: 56.59 kB / 329.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.01065, allocations: 4 kB / 329.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002036/0.01085, allocations: 86.58 kB / 329.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01087, allocations: 5.906 kB / 329.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01088, allocations: 0.8438 kB / 329.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.0109, allocations: 0 / 329.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.01115, allocations: 44.33 kB / 329.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01115, allocations: 1.062 kB / 329.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.01121, allocations: 11.5 kB / 329.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01122, allocations: 5.844 kB / 329.8 MB, free: 13.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001248/0.01135, allocations: 119.7 kB / 330 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.01138, allocations: 7.875 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.01142, allocations: 13.81 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01142, allocations: 0 / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.01143, allocations: 5.125 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01143, allocations: 0.6094 kB / 330 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.01163, allocations: 135.2 kB / 330.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01163, allocations: 0 / 330.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.01177, allocations: 21.58 kB / 330.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01178, allocations: 6.109 kB / 330.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01179, allocations: 6.25 kB / 330.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01179, allocations: 0 / 330.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01179, allocations: 0 / 330.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.0121, allocations: 199.8 kB / 330.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.01213, allocations: 10.86 kB / 330.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.01215, allocations: 5.641 kB / 330.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.01223, allocations: 3.125 kB / 330.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.01228, allocations: 11.52 kB / 330.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.01228, allocations: 1.969 kB / 330.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.01239, allocations: 121.3 kB / 330.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01239, allocations: 0 / 330.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.01262, allocations: 20.33 kB / 330.5 MB, free: 12.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001131/0.01273, allocations: 91.59 kB / 330.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01292, allocations: 44.73 kB / 330.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01292, allocations: 0 / 330.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.01299, allocations: 29.81 kB / 330.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01333, allocations: 22.62 kB / 330.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.01398, allocations: 248.2 kB / 330.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0141, allocations: 88.3 kB / 331 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.01415, allocations: 8.797 kB / 331 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.01419, allocations: 17.98 kB / 331.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01419, allocations: 0 / 331.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Templates: time 0.004499/0.01869, allocations: 0.9691 MB / 332 MB, free: 11.78 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.373261693865061]