Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001153/0.001153, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001156/0.001156, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.118e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002812/0.002833, allocations: 1.733 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004374, allocations: 0.8038 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.004469, allocations: 3.938 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.004904, allocations: 31.78 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.005232, allocations: 59.73 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.005512, allocations: 83.66 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.005703, allocations: 103.7 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.005812, allocations: 8.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.005904, allocations: 47.78 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.005998, allocations: 31.89 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.006021, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.006118, allocations: 39.94 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.006181, allocations: 19.91 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.006227, allocations: 19.92 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006442, allocations: 95.66 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006446, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006447, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006452, allocations: 4 kB / 350.8 MB, free: 6.266 MB / 282.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.0005168/0.006969, allocations: 439.9 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.007021, allocations: 12.03 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.007087, allocations: 16.83 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007289, allocations: 144.3 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.007315, allocations: 8.359 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.007342, allocations: 4.375 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.007506, allocations: 58.94 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.007518, allocations: 3.938 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.00753, allocations: 4 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007537, allocations: 4 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.00758, allocations: 15.92 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.007935, allocations: 279.8 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.008058, allocations: 47.17 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.008093, allocations: 23.61 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.008106, allocations: 3.984 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.008215, allocations: 76.98 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.008216, allocations: 0 / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004631/0.00868, allocations: 153.6 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.008712, allocations: 51.41 kB / 352.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.008846, allocations: 223 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.008858, allocations: 25.7 kB / 352.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.008903, allocations: 150.8 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.008936, allocations: 27.78 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.008975, allocations: 27.38 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.009041, allocations: 0.4923 MB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.00907, allocations: 12.17 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.009111, allocations: 39.31 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.757e-05/0.009179, allocations: 59.23 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.00918, allocations: 4 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.009316, allocations: 89.56 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.009331, allocations: 8 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009337, allocations: 0 / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.009353, allocations: 0 / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.009442, allocations: 15.98 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.009449, allocations: 4 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.009486, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.009494, allocations: 8.031 kB / 353.3 MB, free: 3.551 MB / 282.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 7.057e-05/0.009565, allocations: 168.5 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.009586, allocations: 11.91 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.009764, allocations: 106.5 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009766, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.009771, allocations: 3.984 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.009777, allocations: 0 / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.01007, allocations: 389 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01007, allocations: 0 / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.0101, allocations: 11.97 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01011, allocations: 8 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01012, allocations: 4 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01012, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01012, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01027, allocations: 259.4 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01029, allocations: 11.94 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.01031, allocations: 4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.01038, allocations: 4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01042, allocations: 7.984 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01043, allocations: 4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.0105, allocations: 167.1 kB / 354.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0105, allocations: 0 / 354.5 MB, free: 2.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.0107, allocations: 23.94 kB / 354.5 MB, free: 2.305 MB / 282.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.001103/0.01181, allocations: 445.2 kB / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01194, allocations: 55.55 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01194, allocations: 0 / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.01197, allocations: 31.61 kB / 355 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01225, allocations: 36 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.01256, allocations: 209.8 kB / 355.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.01259, allocations: 63.34 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.01262, allocations: 16.47 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.01265, allocations: 16.5 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01265, allocations: 0 / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Templates: time 0.003562/0.01621, allocations: 1.974 MB / 357.3 MB, free: 15.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.154769919347018]