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.0009962/0.0009962, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00103/0.00103, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 0.9318/0.9318, allocations: 177 MB / 205.2 MB, free: 5.586 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.2487/0.2487, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.262e-06/1.262e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.611e-05, allocations: 2.312 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002306/0.002322, allocations: 1.849 MB / 380.7 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003555, allocations: 1.083 MB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.003633, allocations: 0 / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.004068, allocations: 307.1 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.004449, allocations: 275 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.004635, allocations: 99.62 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.004884, allocations: 271.2 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.004927, allocations: 9.812 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.005064, allocations: 155.6 kB / 382.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.005249, allocations: 203.6 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.005268, allocations: 8 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.005354, allocations: 47.91 kB / 383.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.005459, allocations: 143.5 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.005527, allocations: 71.66 kB / 383.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.00579, allocations: 290.9 kB / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005792, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005793, allocations: 0 / 383.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005797, allocations: 0 / 383.6 MB, free: 13.54 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.0006646/0.006462, allocations: 0.7902 MB / 384.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.006494, allocations: 8.031 kB / 384.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.006569, allocations: 56.56 kB / 384.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.006877, allocations: 332.6 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.006895, allocations: 4.359 kB / 384.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.006907, allocations: 4.375 kB / 384.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.007066, allocations: 102.2 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007073, allocations: 192 / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.007082, allocations: 384 / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.007091, allocations: 7.938 kB / 384.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.007138, allocations: 27.91 kB / 384.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.007413, allocations: 316.2 kB / 385.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.007553, allocations: 90.22 kB / 385.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.007598, allocations: 43.3 kB / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.00761, allocations: 0 / 385.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.007733, allocations: 108.4 kB / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.007734, allocations: 0 / 385.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002643/0.007998, allocations: 181.2 kB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.008044, allocations: 81.05 kB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.008548, allocations: 0.7136 MB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008561, allocations: 25.7 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.008706, allocations: 314.8 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.008742, allocations: 35.73 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.008778, allocations: 31.38 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004054/0.009184, allocations: 0.5625 MB / 387.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.009216, allocations: 12 kB / 387.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.009261, allocations: 54.73 kB / 387.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.009341, allocations: 78.67 kB / 387.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009343, allocations: 0 / 387.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001545/0.009498, allocations: 149.8 kB / 387.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009511, allocations: 8 kB / 387.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009516, allocations: 4.125 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.009528, allocations: 0 / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.00961, allocations: 31.86 kB / 387.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.009616, allocations: 4 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.009669, allocations: 11.95 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.009677, allocations: 4 kB / 387.7 MB, free: 9.094 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 8.969e-05/0.009766, allocations: 170 kB / 387.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.009806, allocations: 55.67 kB / 388 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.01, allocations: 165.9 kB / 388.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01, allocations: 0 / 388.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01001, allocations: 3.938 kB / 388.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.01002, allocations: 11.92 kB / 388.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.01023, allocations: 320.4 kB / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01023, allocations: 0 / 388.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.01026, allocations: 15.92 kB / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01027, allocations: 0 / 388.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01028, allocations: 8 kB / 388.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01028, allocations: 0 / 388.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01028, allocations: 0 / 388.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01044, allocations: 215.7 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.0105, allocations: 63.66 kB / 388.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.01053, allocations: 8 kB / 388.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.01057, allocations: 0 / 388.8 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.01061, allocations: 15.91 kB / 388.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01062, allocations: 12 kB / 388.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.01095, allocations: 486.7 kB / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01095, allocations: 0 / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.01113, allocations: 47.98 kB / 389.3 MB, free: 7.453 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.0007426/0.01187, allocations: 393.1 kB / 389.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.01201, allocations: 67.59 kB / 389.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01201, allocations: 128 / 389.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.01206, allocations: 51.59 kB / 389.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.01233, allocations: 67.67 kB / 389.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.013, allocations: 0.6752 MB / 390.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.01307, allocations: 128.2 kB / 390.7 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.01314, allocations: 38.95 kB / 390.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.01319, allocations: 32.5 kB / 390.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01319, allocations: 0 / 390.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of Templates: time 0.006254/0.01944, allocations: 4.073 MB / 394.8 MB, free: 2.027 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.0418505200650543]