Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001105/0.001105, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009882/0.0009882, allocations: 174.5 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9391/0.9391, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2501/0.2501, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.255e-05, allocations: 3.188 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003145/0.003168, allocations: 1.771 MB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.005518, allocations: 1.739 MB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.005593, allocations: 0 / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.005873, allocations: 39.83 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.006192, allocations: 107.3 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.006367, allocations: 75.61 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.006529, allocations: 107.7 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.006608, allocations: 7.984 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.006708, allocations: 63.77 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006821, allocations: 35.89 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.006838, allocations: 4 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.007, allocations: 103.8 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.007187, allocations: 23.86 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.007229, allocations: 28.41 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.007472, allocations: 155.5 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007474, allocations: 0 / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007475, allocations: 0 / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.007479, allocations: 4 kB / 329.6 MB, free: 3.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005087/0.007988, allocations: 325.5 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.008026, allocations: 12.03 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.008063, allocations: 8.922 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.008239, allocations: 145.2 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.008255, allocations: 384 / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.008276, allocations: 12.31 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.008414, allocations: 108.5 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.008423, allocations: 0 / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.008429, allocations: 0 / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.008434, allocations: 0 / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.008464, allocations: 18.81 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.008676, allocations: 170 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.008771, allocations: 85.22 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.008793, allocations: 24.8 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.008804, allocations: 0 / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.514e-05/0.008889, allocations: 62.2 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.00889, allocations: 0 / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000296/0.009186, allocations: 113.8 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.009226, allocations: 77.11 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.009338, allocations: 164.3 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.009353, allocations: 25.7 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.009384, allocations: 88.12 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.009411, allocations: 35.72 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.009442, allocations: 25.72 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.009515, allocations: 318.8 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.009533, allocations: 22.69 kB / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.00957, allocations: 60.33 kB / 331.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.009613, allocations: 44.44 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009614, allocations: 4 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.607e-05/0.00969, allocations: 68.44 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.009702, allocations: 8 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.009707, allocations: 0 / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.009719, allocations: 4.062 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.009779, allocations: 12 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.009781, allocations: 0 / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.009812, allocations: 7.984 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.009818, allocations: 4 kB / 331.6 MB, free: 1.102 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 (10): * Single equations (assignments): 10 * 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.54e-05/0.009883, allocations: 123.1 kB / 331.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.009895, allocations: 11.98 kB / 331.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.009996, allocations: 74.39 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.009998, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009999, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01, allocations: 4 kB / 331.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.01022, allocations: 295.6 kB / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.01022, allocations: 0 / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.01025, allocations: 8 kB / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01025, allocations: 0 / 332.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.01026, allocations: 4 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01026, allocations: 80 / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01026, allocations: 3.984 kB / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.01037, allocations: 223 kB / 332.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.01038, allocations: 7.953 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.01039, allocations: 8.031 kB / 332.3 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.01043, allocations: 0 / 332.3 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.01046, allocations: 11.98 kB / 332.3 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01047, allocations: 4 kB / 332.4 MB, free: 284 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.01051, allocations: 43.5 kB / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01051, allocations: 0 / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.0107, allocations: 55.8 kB / 332.4 MB, free: 184 kB / 298.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: 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 (9): * Single equations (assignments): 7 * 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.001413/0.01211, allocations: 0.708 MB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.01221, allocations: 40.72 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.01221, allocations: 4 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.01224, allocations: 24.78 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01242, allocations: 39.58 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.01273, allocations: 203.8 kB / 333.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.01276, allocations: 67.33 kB / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.0128, allocations: 17.3 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.01288, allocations: 79.28 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01288, allocations: 0 / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004186/0.01706, allocations: 2.763 MB / 336.4 MB, free: 12.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.07107760803774]