Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009811/0.0009811, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00141/0.00141, allocations: 164.8 kB / 24.82 MB, free: 8.879 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.021/1.021, 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.293/0.293, 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.206e-05, allocations: 2.312 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002695/0.002717, allocations: 1.929 MB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.004303, allocations: 1.091 MB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.004438, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.004927, allocations: 255.1 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.005485, allocations: 235 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.00584, allocations: 127.5 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.006246, allocations: 279.2 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.006376, allocations: 17.97 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.00662, allocations: 163.6 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.006842, allocations: 191.6 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.006871, allocations: 8 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.007017, allocations: 59.92 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.007112, allocations: 71.7 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.007177, allocations: 47.8 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.007459, allocations: 207.2 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007462, allocations: 0 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007463, allocations: 0 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.007469, allocations: 0 / 383.3 MB, free: 13.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007579/0.008227, allocations: 0.6272 MB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.008278, allocations: 8.031 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.008359, allocations: 44.7 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.00863, allocations: 227 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.008652, allocations: 4.375 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.008681, allocations: 12.38 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.008889, allocations: 118.1 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.008904, allocations: 3.938 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.008916, allocations: 8 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.008922, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.008968, allocations: 27.95 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.009434, allocations: 479.2 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.009658, allocations: 114.1 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.009699, allocations: 39.34 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.009719, allocations: 4.125 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.009858, allocations: 112.4 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.009859, allocations: 0 / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007148/0.01057, allocations: 382 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.01062, allocations: 81.11 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.0109, allocations: 418.5 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01092, allocations: 33.7 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01105, allocations: 235.2 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.01112, allocations: 71.41 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.01118, allocations: 47.34 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01137, allocations: 0.5352 MB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.01142, allocations: 23.98 kB / 386.9 MB, free: 9.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.01148, allocations: 70.7 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.01159, allocations: 114.7 kB / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01159, allocations: 3.938 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002034/0.01179, allocations: 189.3 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01181, allocations: 10.17 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01181, allocations: 4 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01183, allocations: 3.984 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.01193, allocations: 43.92 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.01193, allocations: 0 / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.01198, allocations: 11.94 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01199, allocations: 11.98 kB / 387.3 MB, free: 9.27 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001046/0.0121, allocations: 176.6 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01214, allocations: 43.77 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.0124, allocations: 224.6 kB / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01241, allocations: 0 / 387.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01241, allocations: 4 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01241, allocations: 7.922 kB / 387.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.01297, allocations: 0.687 MB / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.01298, allocations: 0 / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.01305, allocations: 48.05 kB / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01305, allocations: 3.938 kB / 388.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01306, allocations: 4 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.01307, allocations: 4 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01307, allocations: 3.938 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.01344, allocations: 0.5004 MB / 389 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.01347, allocations: 35.7 kB / 389 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.0135, allocations: 8 kB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.01358, allocations: 11.98 kB / 389.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.01362, allocations: 15.97 kB / 389.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.01365, allocations: 16 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.01381, allocations: 279 kB / 389.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01381, allocations: 0 / 389.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.01408, allocations: 51.94 kB / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001036/0.01511, allocations: 497.5 kB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.01528, allocations: 116 kB / 390 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01528, allocations: 0 / 390 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.01534, allocations: 63.53 kB / 390.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01569, allocations: 87.2 kB / 390.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.01632, allocations: 0.517 MB / 390.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.01639, allocations: 104.3 kB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.01646, allocations: 37.92 kB / 390.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.01658, allocations: 122.2 kB / 390.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01658, allocations: 0 / 390.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of Templates: time 0.005634/0.02221, allocations: 3.682 MB / 394.6 MB, free: 2.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.200986815150827]