Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.0007582/0.0007582, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001846, 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.0008372/0.0008372, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001866, 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 1.019/1.019, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09423/1.113, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.3018/0.3018, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02924/0.331, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.515e-05, allocations: 3.844 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003551/0.003576, allocations: 1.975 MB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.005595, allocations: 1.14 MB / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.00572, allocations: 0 / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.006147, allocations: 223.2 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.006584, allocations: 215.1 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.00688, allocations: 119.6 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.007227, allocations: 259.2 kB / 297.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.007342, allocations: 18.61 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.007638, allocations: 216 kB / 298.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.007824, allocations: 127.7 kB / 298.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.007852, allocations: 12 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.008018, allocations: 63.91 kB / 298.3 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.008111, allocations: 59.72 kB / 298.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.008179, allocations: 39.81 kB / 298.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.008481, allocations: 187.3 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.008497, allocations: 0 / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008498, allocations: 0 / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.008513, allocations: 0 / 298.6 MB, free: 464 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006786/0.009192, allocations: 0.5151 MB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.009228, allocations: 8.031 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.009282, allocations: 24.91 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.009541, allocations: 205.8 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009563, allocations: 12.31 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.009589, allocations: 8.375 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.009772, allocations: 119.3 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.009783, allocations: 192 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.009793, allocations: 0.5625 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.009802, allocations: 7.938 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/0.00986, allocations: 25.64 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.01023, allocations: 300.8 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.01048, allocations: 190.6 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.01053, allocations: 29.97 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.01054, allocations: 7.984 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.01071, allocations: 112.2 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.01071, allocations: 0 / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007716/0.01149, allocations: 320.7 kB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.01153, allocations: 85.09 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01181, allocations: 328.6 kB / 300.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.01184, allocations: 37.7 kB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.0119, allocations: 113.6 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.01196, allocations: 75.41 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01202, allocations: 37.69 kB / 301.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.01213, allocations: 350.7 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.01218, allocations: 26.81 kB / 301.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.01224, allocations: 59.34 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01236, allocations: 107.1 kB / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01236, allocations: 0 / 301.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001832/0.01255, allocations: 141.2 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01256, allocations: 4 kB / 301.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01257, allocations: 4 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.01258, allocations: 0 / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01272, allocations: 47.92 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01272, allocations: 0 / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.01279, allocations: 15.94 kB / 301.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.0128, allocations: 8 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001007/0.0129, allocations: 132.6 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.01294, allocations: 27.97 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.0132, allocations: 165.2 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.0132, allocations: 4 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01321, allocations: 0 / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01321, allocations: 0 / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.01377, allocations: 0.56 MB / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01378, allocations: 0 / 302.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.01387, allocations: 44.05 kB / 302.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.01391, allocations: 31.8 kB / 302.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01391, allocations: 0 / 302.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01393, allocations: 11.94 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01393, allocations: 4 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01393, allocations: 0 / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.0142, allocations: 416.4 kB / 303.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.01424, allocations: 11.94 kB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01436, allocations: 4 kB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.01441, allocations: 23.97 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.01443, allocations: 15.98 kB / 303.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.01458, allocations: 143.4 kB / 303.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01458, allocations: 4 kB / 303.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.0149, allocations: 47.94 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002112/0.01702, allocations: 0.7011 MB / 304.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01719, allocations: 112.7 kB / 304.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.0172, allocations: 4 kB / 304.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.01725, allocations: 60.64 kB / 304.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01757, allocations: 94.56 kB / 304.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.01832, allocations: 500 kB / 304.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.01839, allocations: 100.2 kB / 305 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.947e-05/0.01848, allocations: 42.23 kB / 305.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.0186, allocations: 91.36 kB / 305.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0186, allocations: 0 / 305.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of Templates: time 0.006023/0.02463, allocations: 3.701 MB / 308.9 MB, free: 6.215 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.0118318451568484]