Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008561/0.0008561, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008514/0.0008514, allocations: 156.5 kB / 25.44 MB, free: 8.855 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.8844/0.8844, allocations: 158.6 MB / 187.2 MB, free: 3.047 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.997e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002395/0.002425, allocations: 1.631 MB / 301.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.003267, allocations: 0.4958 MB / 301.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.003353, allocations: 7.938 kB / 301.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003459, allocations: 7.875 kB / 301.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.003657, allocations: 27.78 kB / 301.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.003843, allocations: 59.8 kB / 301.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.004176, allocations: 103.7 kB / 302 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004299, allocations: 17.31 kB / 302 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004426, allocations: 59.81 kB / 302.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.004508, allocations: 35.88 kB / 302.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.00454, allocations: 4 kB / 302.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.004555, allocations: 8 kB / 302.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.004626, allocations: 19.92 kB / 302.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.004667, allocations: 23.92 kB / 302.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004822, allocations: 91.56 kB / 302.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004826, allocations: 4 kB / 302.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.004828, allocations: 0 / 302.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.004833, allocations: 0 / 302.3 MB, free: 4.312 MB / 282.7 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.0005583/0.005392, allocations: 337.8 kB / 302.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.005448, allocations: 11.98 kB / 302.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.005494, allocations: 20.78 kB / 302.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.005796, allocations: 142.1 kB / 302.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.005812, allocations: 8.375 kB / 302.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.005847, allocations: 8.375 kB / 302.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.006045, allocations: 86.16 kB / 302.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.00606, allocations: 3.938 kB / 302.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.006073, allocations: 4 kB / 302.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.00608, allocations: 0 / 302.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.006156, allocations: 39.97 kB / 302.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.006663, allocations: 284.2 kB / 303.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.006805, allocations: 62.62 kB / 303.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.00685, allocations: 28.8 kB / 303.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.00687, allocations: 7.969 kB / 303.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.006897, allocations: 42.5 kB / 303.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.006899, allocations: 0 / 303.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.007137, allocations: 93.62 kB / 303.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.007172, allocations: 55.41 kB / 303.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.007264, allocations: 149.6 kB / 303.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007278, allocations: 33.7 kB / 303.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.007328, allocations: 108.1 kB / 303.8 MB, free: 2.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.007354, allocations: 19.94 kB / 303.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.007387, allocations: 21.72 kB / 303.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.007471, allocations: 322.8 kB / 304.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.007515, allocations: 23.92 kB / 304.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.007545, allocations: 19.98 kB / 304.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.00762, allocations: 48.84 kB / 304.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007623, allocations: 0 / 304.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.007733, allocations: 85.78 kB / 304.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.00775, allocations: 12 kB / 304.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.007757, allocations: 3.984 kB / 304.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.007772, allocations: 0 / 304.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.007941, allocations: 43.84 kB / 304.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.007948, allocations: 0 / 304.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.00798, allocations: 4 kB / 304.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.007989, allocations: 0 / 304.4 MB, free: 2.051 MB / 282.7 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 8.758e-05/0.008077, allocations: 113.8 kB / 304.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.008097, allocations: 15.91 kB / 304.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.008127, allocations: 20.45 kB / 304.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.008131, allocations: 0 / 304.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.00814, allocations: 7.938 kB / 304.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008144, allocations: 0 / 304.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.008281, allocations: 133.3 kB / 304.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008283, allocations: 3.938 kB / 304.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.008378, allocations: 19.98 kB / 304.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.008382, allocations: 0 / 304.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.008394, allocations: 3.984 kB / 304.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008396, allocations: 4 kB / 304.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008398, allocations: 4 kB / 304.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.008653, allocations: 203.3 kB / 304.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.008674, allocations: 15.92 kB / 304.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.00869, allocations: 320 / 304.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.00873, allocations: 0 / 304.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.008782, allocations: 15.92 kB / 304.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.008787, allocations: 0 / 304.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.008848, allocations: 111.3 kB / 305 MB, free: 1.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008848, allocations: 0 / 305 MB, free: 1.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.009005, allocations: 19.89 kB / 305 MB, free: 1.32 MB / 282.7 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 9.622e-05/0.009102, allocations: 95.3 kB / 305.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.009231, allocations: 47.92 kB / 305.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009233, allocations: 0 / 305.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.009272, allocations: 23.98 kB / 305.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.009518, allocations: 23.64 kB / 305.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.01035, allocations: 279.2 kB / 305.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.01042, allocations: 84.31 kB / 305.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.01045, allocations: 16.44 kB / 305.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01045, allocations: 0 / 305.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of Templates: time 0.002343/0.0128, allocations: 1.242 MB / 306.8 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.12271847948432]