Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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.001549/0.001549, allocations: 78.72 kB / 20.68 MB, free: 1.039 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.001366/0.001366, allocations: 151.1 kB / 23.94 MB, free: 4.176 MB / 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.418/1.418, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.056e-05, allocations: 7.688 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002449/0.002479, allocations: 1.645 MB / 320.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.00334, allocations: 474 kB / 321 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003441, allocations: 1.094 kB / 321 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003553, allocations: 11.34 kB / 321 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.003775, allocations: 27.34 kB / 321 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.003976, allocations: 46.91 kB / 321.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.004155, allocations: 104.9 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004289, allocations: 37.16 kB / 321.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.004411, allocations: 63.41 kB / 321.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.004497, allocations: 32.34 kB / 321.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.004529, allocations: 5.688 kB / 321.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.004549, allocations: 7.594 kB / 321.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.004618, allocations: 22.66 kB / 321.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.004665, allocations: 21.53 kB / 321.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004828, allocations: 82.59 kB / 321.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004833, allocations: 2.562 kB / 321.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004834, allocations: 7.938 kB / 321.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.00484, allocations: 0 / 321.5 MB, free: 1.887 MB / 286.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.0005249/0.005365, allocations: 337.2 kB / 321.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.005408, allocations: 11.39 kB / 321.8 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.00545, allocations: 10.33 kB / 321.8 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.005699, allocations: 144.1 kB / 322 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.005715, allocations: 7.781 kB / 322 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.005753, allocations: 8.375 kB / 322 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.005952, allocations: 85.42 kB / 322.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005963, allocations: 0.8438 kB / 322.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005975, allocations: 1.031 kB / 322.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.00598, allocations: 1.156 kB / 322.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.006097, allocations: 49.81 kB / 322.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.006573, allocations: 283.3 kB / 322.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.006739, allocations: 56.39 kB / 322.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.006812, allocations: 33.78 kB / 322.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.006833, allocations: 0 / 322.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.006852, allocations: 32.78 kB / 322.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.006852, allocations: 1.406 kB / 322.5 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003099/0.007162, allocations: 100.1 kB / 322.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.007189, allocations: 56.56 kB / 322.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.007301, allocations: 138 kB / 322.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.007312, allocations: 27.83 kB / 322.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.007361, allocations: 109 kB / 322.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.007387, allocations: 24.03 kB / 323 MB, free: 0.625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.007427, allocations: 20.88 kB / 323 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.007482, allocations: 325.1 kB / 323.3 MB, free: 292 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.007546, allocations: 21.16 kB / 323.3 MB, free: 284 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.007598, allocations: 18.12 kB / 323.3 MB, free: 280 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.007715, allocations: 56.22 kB / 323.4 MB, free: 248 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007717, allocations: 0 / 323.4 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.007883, allocations: 90.06 kB / 323.5 MB, free: 192 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.007917, allocations: 13.48 kB / 323.5 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007922, allocations: 4 kB / 323.5 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.007942, allocations: 2.188 kB / 323.5 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.008174, allocations: 35.58 kB / 323.5 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.008181, allocations: 2.656 kB / 323.5 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.008237, allocations: 7.688 kB / 323.5 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.008247, allocations: 0.6562 kB / 323.5 MB, free: 180 kB / 286.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 6.063e-05/0.008307, allocations: 114 kB / 323.7 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.00834, allocations: 13.84 kB / 323.7 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.008371, allocations: 13.22 kB / 323.7 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008373, allocations: 8.547 kB / 323.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008378, allocations: 0 / 323.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008382, allocations: 4.594 kB / 323.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.008586, allocations: 135.5 kB / 323.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008588, allocations: 0.6562 kB / 323.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.008739, allocations: 20.69 kB / 323.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008743, allocations: 1.656 kB / 323.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.008762, allocations: 8.781 kB / 323.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.008765, allocations: 1.469 kB / 323.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008766, allocations: 256 / 323.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.009099, allocations: 208.2 kB / 324.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.009125, allocations: 14.19 kB / 324.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.00915, allocations: 9.5 kB / 324.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.009235, allocations: 3.141 kB / 324.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.009279, allocations: 5.047 kB / 324.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.009285, allocations: 0.5625 kB / 324.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.009388, allocations: 114.3 kB / 324.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009388, allocations: 0 / 324.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.009627, allocations: 16.09 kB / 324.2 MB, free: 15.61 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.0001117/0.009738, allocations: 96.41 kB / 324.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.009915, allocations: 49.48 kB / 324.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.009917, allocations: 0 / 324.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.009984, allocations: 26.08 kB / 324.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.01032, allocations: 24.72 kB / 324.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.01098, allocations: 240.8 kB / 324.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.01107, allocations: 94.94 kB / 324.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.01112, allocations: 5.359 kB / 324.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.01116, allocations: 12.95 kB / 324.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.01116, allocations: 0 / 324.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Templates: time 0.004497/0.01566, allocations: 0.9566 MB / 325.7 MB, free: 15.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.2883381843566895]