Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007555/0.0007555, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001734, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002394, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9695/0.9695, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09103/1.061, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.109e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003414/0.003435, allocations: 1.76 MB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004438, allocations: 0.5577 MB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.004523, allocations: 7.938 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.321e-05/0.004596, allocations: 11.88 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004741, allocations: 19.8 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.004979, allocations: 67.83 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.005149, allocations: 91.72 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.005259, allocations: 33.88 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.005461, allocations: 83.73 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.209e-05/0.005554, allocations: 31.89 kB / 247.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.005578, allocations: 8 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.005657, allocations: 8 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.005714, allocations: 19.88 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.005752, allocations: 19.94 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.005912, allocations: 63.69 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.00593, allocations: 4 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005931, allocations: 0 / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.005951, allocations: 0 / 247.8 MB, free: 10.85 MB / 250.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.0005737/0.006525, allocations: 332.1 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.00656, allocations: 8.625 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.00673, allocations: 98.03 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.00692, allocations: 150 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.006932, allocations: 8.375 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.00696, allocations: 12.33 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.00709, allocations: 70.92 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.0071, allocations: 3.938 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.007111, allocations: 8 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.007118, allocations: 0 / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.00716, allocations: 19.08 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.00754, allocations: 210.9 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.007635, allocations: 38.55 kB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.007661, allocations: 20.86 kB / 248.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.007674, allocations: 3.938 kB / 248.7 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.007701, allocations: 30.56 kB / 248.8 MB, free: 9.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.007704, allocations: 3.984 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001543/0.007858, allocations: 57.86 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.007893, allocations: 51.41 kB / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.007992, allocations: 146 kB / 249 MB, free: 9.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.008005, allocations: 25.7 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.008055, allocations: 108 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.008081, allocations: 23.88 kB / 249.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.008123, allocations: 21.72 kB / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008226, allocations: 326.8 kB / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.008246, allocations: 12 kB / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.008267, allocations: 11.97 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.008314, allocations: 20.84 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008316, allocations: 0 / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.944e-05/0.008406, allocations: 49.69 kB / 249.6 MB, free: 8.848 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008419, allocations: 8 kB / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008423, allocations: 0 / 249.6 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.008433, allocations: 3.938 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.008737, allocations: 67.81 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.00874, allocations: 0 / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.008777, allocations: 7.953 kB / 249.7 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.008784, allocations: 0 / 249.7 MB, free: 8.762 MB / 250.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 6.751e-05/0.008852, allocations: 116.7 kB / 249.8 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.008879, allocations: 4 kB / 249.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.00891, allocations: 16.47 kB / 249.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.008913, allocations: 3.984 kB / 249.8 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008916, allocations: 7.938 kB / 249.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008919, allocations: 0 / 249.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.009059, allocations: 93.8 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.00906, allocations: 0 / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.009203, allocations: 27.97 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.009221, allocations: 11.94 kB / 250 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009222, allocations: 0 / 250 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.009234, allocations: 0 / 250 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009236, allocations: 4 kB / 250 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.009242, allocations: 3.938 kB / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.009405, allocations: 163.5 kB / 250.1 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.009424, allocations: 8 kB / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.009492, allocations: 64 / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.009521, allocations: 7.984 kB / 250.2 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.009529, allocations: 7.938 kB / 250.2 MB, free: 8.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.009564, allocations: 20.84 kB / 250.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009564, allocations: 0 / 250.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.009765, allocations: 19.95 kB / 250.2 MB, free: 8.207 MB / 250.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 8.037e-05/0.009846, allocations: 80.39 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.009932, allocations: 36.83 kB / 250.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.009939, allocations: 0 / 250.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.009969, allocations: 16.84 kB / 250.3 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.0102, allocations: 27.08 kB / 250.4 MB, free: 8.035 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.0113, allocations: 259.4 kB / 250.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01135, allocations: 71.33 kB / 250.7 MB, free: 7.664 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.0114, allocations: 8.734 kB / 250.7 MB, free: 7.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.01148, allocations: 63.36 kB / 250.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01148, allocations: 3.938 kB / 250.8 MB, free: 7.586 MB / 250.7 MB Notification: Performance of Templates: time 0.002915/0.01439, allocations: 1.185 MB / 252 MB, free: 6.422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.445601999759674]