Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001111/0.001111, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001196/0.001196, allocations: 160.5 kB / 24.55 MB, free: 12 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.02/1.02, 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.2668/0.2668, allocations: 34.87 MB / 296.3 MB, free: 472 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.031e-05, allocations: 6.312 kB / 378.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005575/0.005595, allocations: 1.841 MB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.00711, allocations: 1.091 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.007194, allocations: 4 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.0107, allocations: 307.1 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.01113, allocations: 255 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.01133, allocations: 103.6 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.01161, allocations: 271.2 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.01165, allocations: 13.78 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.01182, allocations: 151.6 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.01203, allocations: 200.1 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.01205, allocations: 8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.01214, allocations: 47.92 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.01227, allocations: 136.5 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.01235, allocations: 79.66 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.01266, allocations: 274.9 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01266, allocations: 4 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01266, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.01267, allocations: 0 / 383.6 MB, free: 13.18 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.003781/0.01645, allocations: 0.7746 MB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.01649, allocations: 15.97 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.01657, allocations: 56.61 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.01695, allocations: 328.7 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01697, allocations: 4.359 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.01699, allocations: 8.375 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.01715, allocations: 94.3 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01716, allocations: 192 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.01717, allocations: 384 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01719, allocations: 3.938 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.01724, allocations: 23.91 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.01755, allocations: 308.2 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.01771, allocations: 98.16 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.01776, allocations: 35.36 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.01778, allocations: 4 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.01792, allocations: 120.3 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.01792, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003078/0.01823, allocations: 173.2 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.0184, allocations: 81.05 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.01903, allocations: 0.6979 MB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.01904, allocations: 37.69 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003175/0.02222, allocations: 298.8 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.02226, allocations: 27.84 kB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.02231, allocations: 35.36 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.02249, allocations: 0.5587 MB / 387.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.02253, allocations: 12 kB / 387.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.02258, allocations: 54.72 kB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.02268, allocations: 74.69 kB / 387.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02268, allocations: 0 / 387.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001926/0.02287, allocations: 157.9 kB / 387.6 MB, free: 8.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.02288, allocations: 7.938 kB / 387.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.02289, allocations: 4 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.02291, allocations: 0 / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.023, allocations: 23.92 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.02301, allocations: 4 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.02308, allocations: 15.94 kB / 387.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.02309, allocations: 7.984 kB / 387.7 MB, free: 8.789 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.0001051/0.0232, allocations: 166.1 kB / 387.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.02325, allocations: 67.61 kB / 387.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.02349, allocations: 157.9 kB / 388.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.02349, allocations: 3.938 kB / 388.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.0235, allocations: 7.922 kB / 388.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.0235, allocations: 0 / 388.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.02374, allocations: 316.4 kB / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.02374, allocations: 0 / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.02377, allocations: 8 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.02377, allocations: 7.984 kB / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.02378, allocations: 0 / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02378, allocations: 4 kB / 388.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02379, allocations: 4 kB / 388.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.02395, allocations: 219.5 kB / 388.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.02401, allocations: 63.66 kB / 388.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.02405, allocations: 4 kB / 388.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.02409, allocations: 4 kB / 388.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.02413, allocations: 11.92 kB / 388.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02415, allocations: 11.98 kB / 388.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.02445, allocations: 474.8 kB / 389.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02445, allocations: 0 / 389.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.02462, allocations: 48 kB / 389.2 MB, free: 7.168 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.002296/0.02691, allocations: 383.2 kB / 389.6 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.02705, allocations: 83.52 kB / 389.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.02705, allocations: 0 / 389.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.0271, allocations: 43.61 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.02736, allocations: 74.75 kB / 389.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.02799, allocations: 0.6521 MB / 390.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.02806, allocations: 128.2 kB / 390.6 MB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.02812, allocations: 42.89 kB / 390.6 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.02817, allocations: 32.48 kB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02817, allocations: 4 kB / 390.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of Templates: time 0.005866/0.03404, allocations: 4.016 MB / 394.7 MB, free: 1.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.417241653893143]