Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001394/0.001394, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001614/0.001614, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.562 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.2867/0.2867, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.506e-05, allocations: 2.312 kB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003264/0.003299, allocations: 1.853 MB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.0049, allocations: 1.091 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.005017, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.005494, allocations: 307.1 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.006031, allocations: 267 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.006327, allocations: 107.6 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.006731, allocations: 275.2 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.006782, allocations: 5.812 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.006993, allocations: 155.6 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.00722, allocations: 207.6 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.007243, allocations: 8 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.007361, allocations: 47.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.00748, allocations: 135.5 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.007565, allocations: 79.64 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.007925, allocations: 278.9 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.00793, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007931, allocations: 4 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.007939, allocations: 0 / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009336/0.008872, allocations: 0.7863 MB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.008913, allocations: 12.03 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.009017, allocations: 64.55 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.009385, allocations: 328.6 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.009407, allocations: 4.375 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.009417, allocations: 384 / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.009613, allocations: 102.3 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.009621, allocations: 4.188 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.009633, allocations: 4.312 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.009642, allocations: 7.938 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.009688, allocations: 19.91 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.01002, allocations: 320.2 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.01021, allocations: 94.22 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.01026, allocations: 31.36 kB / 385.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.01027, allocations: 11.94 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.01043, allocations: 108.4 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.01044, allocations: 0 / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003188/0.01076, allocations: 173.2 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.01082, allocations: 89.05 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.01143, allocations: 0.7096 MB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01146, allocations: 29.7 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.01162, allocations: 310.8 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.631e-05/0.01167, allocations: 27.75 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.01173, allocations: 39.3 kB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.01193, allocations: 0.5626 MB / 387.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.01197, allocations: 19.98 kB / 387.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.01202, allocations: 57.73 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.472e-05/0.01211, allocations: 74.67 kB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01211, allocations: 0 / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002439/0.01236, allocations: 145.9 kB / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01237, allocations: 8 kB / 387.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.01238, allocations: 8.047 kB / 387.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.0124, allocations: 0 / 387.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.0125, allocations: 27.88 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01251, allocations: 0 / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.01257, allocations: 15.94 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01259, allocations: 8 kB / 387.8 MB, free: 8.742 MB / 362.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001155/0.01271, allocations: 166.1 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.01275, allocations: 51.67 kB / 388 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.013, allocations: 165.9 kB / 388.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.013, allocations: 8 kB / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01301, allocations: 3.938 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01301, allocations: 0 / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.01329, allocations: 324.4 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.0133, allocations: 3.938 kB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.01334, allocations: 11.94 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01335, allocations: 4 kB / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01336, allocations: 0 / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01336, allocations: 4 kB / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01336, allocations: 0 / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.01359, allocations: 215.7 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.01365, allocations: 63.66 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.01368, allocations: 7.984 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.01373, allocations: 8 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.01378, allocations: 11.92 kB / 388.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.0138, allocations: 4 kB / 388.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003694/0.01417, allocations: 490.7 kB / 389.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01417, allocations: 3.938 kB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.01438, allocations: 44 kB / 389.3 MB, free: 7.109 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009259/0.0153, allocations: 393.4 kB / 389.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.01548, allocations: 75.58 kB / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01548, allocations: 0 / 389.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.01554, allocations: 39.73 kB / 389.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.01586, allocations: 78.36 kB / 389.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.01671, allocations: 0.6675 MB / 390.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01681, allocations: 128.2 kB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.459e-05/0.0169, allocations: 42.94 kB / 390.7 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.01696, allocations: 28.5 kB / 390.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01696, allocations: 0 / 390.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of Templates: time 0.007591/0.02455, allocations: 4.303 MB / 395.1 MB, free: 1.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.251680334098637]