Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001051/0.001051, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001131/0.001131, allocations: 167.3 kB / 24.99 MB, free: 8.203 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 1.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2795/0.2795, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.759e-05, allocations: 2.312 kB / 376.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002751/0.002779, allocations: 1.844 MB / 377.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004272, allocations: 1.076 MB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004388, allocations: 0 / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.004872, allocations: 299.1 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.005371, allocations: 259 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.005663, allocations: 111.6 kB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.006008, allocations: 275.2 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.00607, allocations: 5.812 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.006253, allocations: 155.6 kB / 380.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.006442, allocations: 200.1 kB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.006466, allocations: 8 kB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.006576, allocations: 47.92 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.006703, allocations: 132.5 kB / 380.5 MB, free: 492 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.006786, allocations: 79.64 kB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.007118, allocations: 278.9 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007121, allocations: 4 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007122, allocations: 0 / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.00713, allocations: 0 / 380.8 MB, free: 128 kB / 346.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.0007876/0.007917, allocations: 0.7787 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.007961, allocations: 8.031 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.008069, allocations: 56.55 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.008473, allocations: 328.7 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.008502, allocations: 4.375 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.008519, allocations: 4.375 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.008732, allocations: 94.3 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008742, allocations: 3.938 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.008755, allocations: 3.984 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.008764, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.008818, allocations: 23.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.009166, allocations: 312.2 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.009352, allocations: 94.16 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.009408, allocations: 35.36 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.009427, allocations: 4 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.009606, allocations: 116.2 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.009607, allocations: 4 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003912/0.009998, allocations: 177.2 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.01006, allocations: 77.11 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.01063, allocations: 0.7018 MB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01065, allocations: 29.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.01081, allocations: 302.8 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.01086, allocations: 23.84 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.0109, allocations: 39.36 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.01111, allocations: 0.5587 MB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.01115, allocations: 11.98 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.0112, allocations: 54.73 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.01131, allocations: 75.19 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01132, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002048/0.01152, allocations: 157.2 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.01154, allocations: 8.062 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01155, allocations: 7.875 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.01157, allocations: 7.984 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01168, allocations: 23.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.01169, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.01176, allocations: 15.92 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.01177, allocations: 4 kB / 384.9 MB, free: 11.73 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.00014/0.01191, allocations: 165.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.01197, allocations: 59.62 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.01223, allocations: 165.8 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01223, allocations: 4 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01224, allocations: 3.938 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01224, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.0125, allocations: 316.4 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.0125, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.01255, allocations: 11.98 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01255, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01256, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01256, allocations: 4.188 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01257, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.01279, allocations: 227.5 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-05/0.01286, allocations: 59.66 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.01289, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.01295, allocations: 11.94 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.01301, allocations: 11.97 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.01303, allocations: 4 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004017/0.01343, allocations: 478.8 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01343, allocations: 0 / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01365, allocations: 40 kB / 386.5 MB, free: 10.11 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.0009721/0.01462, allocations: 401.7 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.0148, allocations: 71.53 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0148, allocations: 0 / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.01486, allocations: 51.67 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01517, allocations: 65.31 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.01596, allocations: 0.6519 MB / 387.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.353e-05/0.01605, allocations: 136.2 kB / 387.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.01612, allocations: 34.95 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.01618, allocations: 40.42 kB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.432e-06/0.01618, allocations: 0 / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of Templates: time 0.006956/0.02314, allocations: 4.018 MB / 391.9 MB, free: 4.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.510118327103555]