Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.00093/0.00093, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009007/0.0009007, allocations: 164.9 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9766/0.9766, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2808/0.2808, allocations: 34.86 MB / 296.6 MB, free: 412 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.801e-05, allocations: 4.609 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002459/0.002487, allocations: 1.715 MB / 327.7 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003694, allocations: 0.9978 MB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.003764, allocations: 0 / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.004038, allocations: 63.73 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.004378, allocations: 115.4 kB / 328.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.004569, allocations: 71.61 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004717, allocations: 103.7 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.004755, allocations: 8.219 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.004847, allocations: 67.75 kB / 329.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.004937, allocations: 43.88 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.004951, allocations: 4 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.005017, allocations: 31.94 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.005065, allocations: 19.92 kB / 329.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.005098, allocations: 19.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.005244, allocations: 91.61 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005247, allocations: 0 / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005248, allocations: 0 / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005251, allocations: 0 / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003626/0.005614, allocations: 313.6 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.005644, allocations: 8.031 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.005675, allocations: 12.92 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005821, allocations: 146.3 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.005837, allocations: 4.375 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.005849, allocations: 4.375 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005951, allocations: 61.7 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005958, allocations: 192 / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.005964, allocations: 384 / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.005972, allocations: 3.938 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.005996, allocations: 7.984 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.006097, allocations: 74.69 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.37e-05/0.006181, allocations: 33.44 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.006199, allocations: 12.86 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.006208, allocations: 0 / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.006286, allocations: 70.14 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.006287, allocations: 0 / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001111/0.006398, allocations: 57.67 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.006429, allocations: 55.41 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.006535, allocations: 177.2 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.006547, allocations: 25.7 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.006576, allocations: 92.11 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.006604, allocations: 23.83 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.006631, allocations: 21.7 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.006708, allocations: 326.8 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.006725, allocations: 10.77 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.006743, allocations: 21.66 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.00678, allocations: 31.36 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006782, allocations: 0 / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.627e-05/0.006848, allocations: 64.44 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.006859, allocations: 8 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006863, allocations: 4.031 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006875, allocations: 320 / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.006937, allocations: 11.98 kB / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.00694, allocations: 0 / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.006973, allocations: 11.94 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.006978, allocations: 0 / 331 MB, free: 1.844 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.95e-05/0.007048, allocations: 124.6 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.007061, allocations: 7.984 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.00715, allocations: 62.83 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007151, allocations: 0 / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.007152, allocations: 4 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.007156, allocations: 3.938 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.007232, allocations: 85.88 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.007234, allocations: 0 / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.007249, allocations: 8 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007251, allocations: 0 / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.007257, allocations: 3.984 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007258, allocations: 0 / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.007258, allocations: 0 / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.023e-05/0.007329, allocations: 94.62 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.007341, allocations: 7.906 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.007356, allocations: 12 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.007375, allocations: 0 / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.007399, allocations: 7.984 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.007408, allocations: 0 / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.00745, allocations: 55.64 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00745, allocations: 0 / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.007573, allocations: 19.94 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00131/0.008883, allocations: 0.4899 MB / 332 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.008989, allocations: 44.72 kB / 332 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.008994, allocations: 4 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.009028, allocations: 12.86 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.009183, allocations: 34.28 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.009498, allocations: 199 kB / 332.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.009538, allocations: 63.34 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.009573, allocations: 16.47 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.009646, allocations: 59.38 kB / 332.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009646, allocations: 4.062 kB / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of Templates: time 0.003886/0.01353, allocations: 1.758 MB / 334.2 MB, free: 14.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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: 3.000685542821884]