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.001064/0.001064, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.00276, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001385/0.001385, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001876/0.003261, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8987/0.8987, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1947/1.093, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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.312e-06/1.312e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.85e-05, allocations: 2.312 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00196/0.001978, allocations: 1.741 MB / 223.6 MB, free: 14.42 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.002587, allocations: 0.5229 MB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.002659, allocations: 4 kB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.733e-05/0.002716, allocations: 15.8 kB / 224.1 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.002828, allocations: 27.8 kB / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003014, allocations: 43.88 kB / 224.2 MB, free: 13.8 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.003198, allocations: 111.6 kB / 224.3 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.003292, allocations: 21.95 kB / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.003415, allocations: 71.72 kB / 224.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.003484, allocations: 35.89 kB / 224.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003506, allocations: 4 kB / 224.4 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.00352, allocations: 8 kB / 224.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.003565, allocations: 19.94 kB / 224.4 MB, free: 13.54 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.003598, allocations: 19.94 kB / 224.5 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.003703, allocations: 59.64 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.003719, allocations: 0 / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00372, allocations: 0 / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.003734, allocations: 0 / 224.5 MB, free: 13.46 MB / 234.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.0004222/0.004156, allocations: 328.1 kB / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.004184, allocations: 8.031 kB / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.004217, allocations: 12.92 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.00436, allocations: 146.1 kB / 225 MB, free: 12.93 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.00437, allocations: 8.375 kB / 225 MB, free: 12.92 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.004391, allocations: 4.375 kB / 225 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.004508, allocations: 82.86 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004516, allocations: 3.938 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.004525, allocations: 3.938 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00453, allocations: 0 / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.004556, allocations: 12 kB / 225.1 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.004843, allocations: 222.8 kB / 225.3 MB, free: 12.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.004922, allocations: 42.56 kB / 225.4 MB, free: 12.52 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.004941, allocations: 16.84 kB / 225.4 MB, free: 12.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.004955, allocations: 3.938 kB / 225.4 MB, free: 12.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004975, allocations: 38.5 kB / 225.4 MB, free: 12.45 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.004976, allocations: 0 / 225.4 MB, free: 12.45 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000118/0.005094, allocations: 53.69 kB / 225.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.005121, allocations: 51.41 kB / 225.5 MB, free: 12.33 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.005187, allocations: 142.6 kB / 225.7 MB, free: 12.18 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.005197, allocations: 29.7 kB / 225.7 MB, free: 12.14 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.005232, allocations: 108 kB / 225.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.005253, allocations: 23.92 kB / 225.8 MB, free: 12.01 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.005283, allocations: 21.7 kB / 225.8 MB, free: 11.98 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.005364, allocations: 318.8 kB / 226.2 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.005377, allocations: 7.984 kB / 226.2 MB, free: 11.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.005389, allocations: 7.938 kB / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.005428, allocations: 24.83 kB / 226.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.00543, allocations: 0 / 226.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.159e-05/0.005492, allocations: 57.83 kB / 226.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.005506, allocations: 8 kB / 226.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.005512, allocations: 4 kB / 226.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.005522, allocations: 0 / 226.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.005786, allocations: 61.78 kB / 226.3 MB, free: 11.49 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.00579, allocations: 4 kB / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.005814, allocations: 3.984 kB / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.005821, allocations: 0 / 226.3 MB, free: 11.48 MB / 234.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 5.702e-05/0.005878, allocations: 116.7 kB / 226.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.005893, allocations: 4 kB / 226.5 MB, free: 11.35 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.005921, allocations: 20.45 kB / 226.5 MB, free: 11.34 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005923, allocations: 0 / 226.5 MB, free: 11.34 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.005926, allocations: 3.938 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005928, allocations: 0 / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.006029, allocations: 89.81 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.00603, allocations: 0 / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.006131, allocations: 35.95 kB / 226.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.006145, allocations: 15.89 kB / 226.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006147, allocations: 0 / 226.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.006159, allocations: 0 / 226.6 MB, free: 11.18 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006159, allocations: 4 kB / 226.6 MB, free: 11.17 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.006162, allocations: 4.188 kB / 226.6 MB, free: 11.17 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.006312, allocations: 167.4 kB / 226.8 MB, free: 10.99 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.006326, allocations: 0 / 226.8 MB, free: 10.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.006365, allocations: 4 kB / 226.8 MB, free: 10.98 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.006396, allocations: 3.984 kB / 226.8 MB, free: 10.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.006404, allocations: 11.92 kB / 226.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.006431, allocations: 32.81 kB / 226.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006431, allocations: 0 / 226.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001177/0.006549, allocations: 12 kB / 226.9 MB, free: 10.92 MB / 234.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 7.132e-05/0.00662, allocations: 80.45 kB / 226.9 MB, free: 10.83 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.465e-05/0.006685, allocations: 24.8 kB / 227 MB, free: 10.8 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.006692, allocations: 7.984 kB / 227 MB, free: 10.8 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.006714, allocations: 16.84 kB / 227 MB, free: 10.78 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.006876, allocations: 31.81 kB / 227 MB, free: 10.75 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.0077, allocations: 270.5 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.007738, allocations: 67.33 kB / 227.3 MB, free: 10.38 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.007773, allocations: 4.734 kB / 227.3 MB, free: 10.37 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.007842, allocations: 63.36 kB / 227.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007842, allocations: 3.938 kB / 227.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of Templates: time 0.002832/0.01067, allocations: 1.174 MB / 228.6 MB, free: 9.133 MB / 234.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] 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","",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.624566186219454]