Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001/0.001, 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.3 kB / 23.79 MB, free: 0.7812 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.003/1.003, 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.146/0.146, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.425e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002263/0.002287, allocations: 1.691 MB / 349.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003336, allocations: 0.7804 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003436, allocations: 3.938 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.003867, allocations: 67.67 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.004162, allocations: 71.66 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.004399, allocations: 71.78 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.00457, allocations: 111.6 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.004612, allocations: 3.938 kB / 350.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.004707, allocations: 59.81 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.004799, allocations: 43.89 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004817, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.004894, allocations: 24 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.004949, allocations: 23.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.004988, allocations: 11.94 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005149, allocations: 95.59 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005152, allocations: 0 / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005153, allocations: 0 / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005158, allocations: 0 / 350.8 MB, free: 6.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003864/0.005544, allocations: 432 kB / 351.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.005601, allocations: 16.03 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.00565, allocations: 8.891 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.005797, allocations: 156.3 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.005814, allocations: 384 / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.005826, allocations: 384 / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005941, allocations: 58.88 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.00595, allocations: 3.938 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.005959, allocations: 4 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005966, allocations: 0 / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.005995, allocations: 8 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.006117, allocations: 140.7 kB / 351.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.006208, allocations: 43.11 kB / 351.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.006234, allocations: 27.61 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.006248, allocations: 0 / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.645e-05/0.006335, allocations: 69 kB / 351.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.006335, allocations: 0 / 351.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001657/0.006501, allocations: 85.56 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.006522, allocations: 51.41 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.006616, allocations: 221.8 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.006624, allocations: 33.7 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.006655, allocations: 146.9 kB / 352.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.006683, allocations: 19.89 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.006709, allocations: 23.38 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.006759, allocations: 0.4923 MB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.006786, allocations: 11.98 kB / 352.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.006819, allocations: 27.38 kB / 352.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.006873, allocations: 35.61 kB / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006875, allocations: 0 / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.006985, allocations: 77.58 kB / 353 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006999, allocations: 8 kB / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.007005, allocations: 3.938 kB / 353 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.00702, allocations: 3.984 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.007093, allocations: 8 kB / 353 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.007099, allocations: 4 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.007129, allocations: 7.938 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.007135, allocations: 7.984 kB / 353 MB, free: 3.867 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 (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 5.183e-05/0.007187, allocations: 156.6 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.007201, allocations: 19.94 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.007326, allocations: 89.95 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007329, allocations: 4 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.007332, allocations: 0 / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007336, allocations: 0 / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.809e-05/0.007404, allocations: 136.6 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007405, allocations: 0 / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.007423, allocations: 8 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.007425, allocations: 3.938 kB / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007432, allocations: 3.984 kB / 353.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.007433, allocations: 7.938 kB / 353.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007435, allocations: 4 kB / 353.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.007514, allocations: 108.3 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.007528, allocations: 11.94 kB / 353.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.007544, allocations: 4 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.007566, allocations: 8.125 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.007594, allocations: 4 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.007608, allocations: 7.984 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.007657, allocations: 164 kB / 353.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.007657, allocations: 0 / 353.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.007804, allocations: 16 kB / 353.7 MB, free: 3.051 MB / 282.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.0008315/0.008635, allocations: 402.7 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.008756, allocations: 35.67 kB / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008757, allocations: 64 / 354.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.008789, allocations: 31.61 kB / 354.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.008988, allocations: 29.23 kB / 354.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.009317, allocations: 193.3 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.009346, allocations: 63.34 kB / 354.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.907e-05/0.009385, allocations: 8.484 kB / 354.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.009417, allocations: 16.5 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009417, allocations: 0 / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of Templates: time 0.003279/0.0127, allocations: 1.619 MB / 356.1 MB, free: 0.7227 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.3061148119159043]