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.002031/0.002031, allocations: 88.86 kB / 21.44 MB, free: 276 kB / 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.00243/0.00243, allocations: 161.3 kB / 24.7 MB, free: 3.531 MB / 14.72 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 1.347/1.347, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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.242e-06/1.242e-06, allocations: 0 / 298.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.017e-05, allocations: 2.281 kB / 298.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002644/0.002664, allocations: 1.649 MB / 300.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.003615, allocations: 0.4964 MB / 301.1 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.00368, allocations: 0 / 301.1 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.926e-05/0.003769, allocations: 19.8 kB / 301.1 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.003941, allocations: 27.72 kB / 301.1 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.004124, allocations: 51.92 kB / 301.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.0043, allocations: 103.6 kB / 301.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004405, allocations: 25.28 kB / 301.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.004512, allocations: 51.83 kB / 301.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.004594, allocations: 35.89 kB / 301.4 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.004621, allocations: 4 kB / 301.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.004638, allocations: 12 kB / 301.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.004687, allocations: 23.84 kB / 301.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.004733, allocations: 27.92 kB / 301.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.004878, allocations: 87.62 kB / 301.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00488, allocations: 0 / 301.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004881, allocations: 0 / 301.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004884, allocations: 0 / 301.5 MB, free: 6.203 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.0005427/0.005427, allocations: 333.8 kB / 301.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005462, allocations: 15.98 kB / 301.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.005498, allocations: 16.84 kB / 301.9 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.005734, allocations: 150.2 kB / 302 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005745, allocations: 384 / 302 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.005778, allocations: 12.38 kB / 302 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.005957, allocations: 78.17 kB / 302.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.005968, allocations: 3.938 kB / 302.1 MB, free: 5.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.00598, allocations: 3.984 kB / 302.1 MB, free: 5.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005985, allocations: 4 kB / 302.1 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.006112, allocations: 39.92 kB / 302.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.006591, allocations: 280.3 kB / 302.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.006743, allocations: 58.59 kB / 302.5 MB, free: 5.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.006816, allocations: 32.89 kB / 302.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.006832, allocations: 0 / 302.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.00687, allocations: 38.5 kB / 302.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.006871, allocations: 0 / 302.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003068/0.007178, allocations: 101.6 kB / 302.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.007214, allocations: 51.41 kB / 302.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.007358, allocations: 153.7 kB / 302.9 MB, free: 4.719 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.007378, allocations: 25.7 kB / 302.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.007452, allocations: 108.2 kB / 303 MB, free: 4.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.007484, allocations: 27.78 kB / 303 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.007527, allocations: 17.72 kB / 303 MB, free: 4.527 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007672, allocations: 322.8 kB / 303.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.007733, allocations: 15.98 kB / 303.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/0.007786, allocations: 20.25 kB / 303.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.007919, allocations: 64.69 kB / 303.5 MB, free: 4.102 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.007923, allocations: 4 kB / 303.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.008096, allocations: 85.64 kB / 303.5 MB, free: 4.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008108, allocations: 4 kB / 303.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.008111, allocations: 0 / 303.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.008126, allocations: 3.984 kB / 303.6 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.008344, allocations: 39.91 kB / 303.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.008348, allocations: 4 kB / 303.6 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.008405, allocations: 7.984 kB / 303.6 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.008415, allocations: 11.94 kB / 303.6 MB, free: 3.938 MB / 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 9.823e-05/0.008514, allocations: 117.8 kB / 303.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.008545, allocations: 7.953 kB / 303.7 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.008568, allocations: 8.469 kB / 303.8 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.008569, allocations: 4 kB / 303.8 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.008577, allocations: 7.922 kB / 303.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00858, allocations: 0 / 303.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.008756, allocations: 133.2 kB / 303.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008757, allocations: 0 / 303.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.008904, allocations: 23.98 kB / 303.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.00891, allocations: 4 kB / 303.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.008922, allocations: 4 kB / 303.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.008923, allocations: 0 / 303.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008924, allocations: 240 / 303.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.009231, allocations: 203.3 kB / 304.1 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.00925, allocations: 7.984 kB / 304.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.009272, allocations: 3.984 kB / 304.1 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.009358, allocations: 8 kB / 304.1 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.009391, allocations: 3.938 kB / 304.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.009398, allocations: 8.047 kB / 304.2 MB, free: 3.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.00948, allocations: 107.3 kB / 304.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00948, allocations: 0 / 304.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.00971, allocations: 15.94 kB / 304.3 MB, free: 3.23 MB / 286.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.0001017/0.009811, allocations: 95.25 kB / 304.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.009976, allocations: 51.95 kB / 304.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009977, allocations: 0 / 304.4 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.01005, allocations: 27.98 kB / 304.4 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01035, allocations: 34.53 kB / 304.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.01095, allocations: 257.4 kB / 304.7 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.01104, allocations: 84.31 kB / 304.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.01108, allocations: 8 kB / 304.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01112, allocations: 12.5 kB / 304.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01112, allocations: 0 / 304.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of Templates: time 0.003592/0.01471, allocations: 0.9543 MB / 305.8 MB, free: 1.668 MB / 286.1 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.030551113188267]