Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.0008309/0.0008309, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.001146/0.001146, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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 0.857/0.857, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1351/0.1351, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.31e-07/9.31e-07, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.756e-05, allocations: 6.078 kB / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001917/0.001934, allocations: 1.649 MB / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.002767, allocations: 0.7529 MB / 410.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.00281, allocations: 7.938 kB / 410.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.002963, allocations: 55.8 kB / 410.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.003096, allocations: 67.67 kB / 410.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.00325, allocations: 75.72 kB / 410.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003352, allocations: 103.6 kB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.048e-05/0.003372, allocations: 4 kB / 410.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.00343, allocations: 47.84 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.003493, allocations: 43.88 kB / 411 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.003504, allocations: 8 kB / 411 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.003552, allocations: 23.94 kB / 411 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.003582, allocations: 23.91 kB / 411 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.003604, allocations: 15.94 kB / 411.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003712, allocations: 99.62 kB / 411.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.003713, allocations: 0 / 411.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003714, allocations: 0 / 411.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003717, allocations: 3.938 kB / 411.2 MB, free: 9.949 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002528/0.003969, allocations: 329.7 kB / 411.5 MB, free: 9.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.169e-05/0.003991, allocations: 8.031 kB / 411.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.004014, allocations: 16.83 kB / 411.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.004133, allocations: 137.6 kB / 411.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-06/0.004139, allocations: 4.375 kB / 411.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.004145, allocations: 384 / 411.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.957e-05/0.004215, allocations: 54.23 kB / 411.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-06/0.004219, allocations: 3.938 kB / 411.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.004224, allocations: 0 / 411.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-06/0.004226, allocations: 0 / 411.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.00426, allocations: 19.92 kB / 411.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.061e-05/0.00435, allocations: 125.3 kB / 411.8 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.004432, allocations: 54.61 kB / 411.9 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.004459, allocations: 20.84 kB / 411.9 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.004466, allocations: 3.984 kB / 411.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/0.004538, allocations: 75.33 kB / 412 MB, free: 9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 5.61e-07/0.004538, allocations: 0 / 412 MB, free: 9 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001417/0.00468, allocations: 93.56 kB / 412.1 MB, free: 8.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.004706, allocations: 55.41 kB / 412.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.004816, allocations: 182.2 kB / 412.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.004829, allocations: 29.7 kB / 412.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.00487, allocations: 100.1 kB / 412.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.004894, allocations: 11.94 kB / 412.4 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.004919, allocations: 17.72 kB / 412.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.004998, allocations: 322.8 kB / 412.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.005025, allocations: 15.98 kB / 412.8 MB, free: 8.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.005059, allocations: 33.66 kB / 412.8 MB, free: 8.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/0.005113, allocations: 41.7 kB / 412.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005114, allocations: 4 kB / 412.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.21e-05/0.005196, allocations: 89.52 kB / 413 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005209, allocations: 10.66 kB / 413 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005214, allocations: 3.938 kB / 413 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.005224, allocations: 0 / 413 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.005271, allocations: 8 kB / 413 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.005276, allocations: 3.984 kB / 413 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.005301, allocations: 7.938 kB / 413 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.005308, allocations: 8 kB / 413 MB, free: 7.914 MB / 346.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 (7): * Single equations (assignments): 7 * 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 6.732e-05/0.005375, allocations: 117.8 kB / 413.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.005385, allocations: 11.95 kB / 413.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.005507, allocations: 102 kB / 413.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005509, allocations: 4 kB / 413.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.005512, allocations: 3.938 kB / 413.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005516, allocations: 0 / 413.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.381e-05/0.00559, allocations: 129.6 kB / 413.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.00559, allocations: 0 / 413.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.005602, allocations: 12 kB / 413.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.005603, allocations: 0 / 413.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.00561, allocations: 3.984 kB / 413.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.005611, allocations: 3.938 kB / 413.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005612, allocations: 4 kB / 413.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.005706, allocations: 117 kB / 413.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.005715, allocations: 3.953 kB / 413.5 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.005728, allocations: 4 kB / 413.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.005744, allocations: 3.938 kB / 413.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.005771, allocations: 11.98 kB / 413.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.00578, allocations: 0 / 413.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.005846, allocations: 143.8 kB / 413.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005846, allocations: 0 / 413.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.005988, allocations: 19.94 kB / 413.7 MB, free: 7.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006244/0.006612, allocations: 433.8 kB / 414.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.006716, allocations: 39.92 kB / 414.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006717, allocations: 0 / 414.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.006752, allocations: 23.97 kB / 414.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.006915, allocations: 39.89 kB / 414.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.007206, allocations: 218.9 kB / 414.4 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.007257, allocations: 87.73 kB / 414.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.007282, allocations: 16.48 kB / 414.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007282, allocations: 0 / 414.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of Templates: time 0.002193/0.009475, allocations: 1.699 MB / 416.2 MB, free: 4.621 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.371957312338054]