Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001586/0.001586, allocations: 88.23 kB / 20.21 MB, free: 4.223 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.001757/0.001757, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.68/1.68, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2334/0.2334, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.042e-05, allocations: 2.312 kB / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00277/0.002801, allocations: 1.695 MB / 348.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.004183, allocations: 0.7726 MB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.004269, allocations: 4 kB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.004677, allocations: 79.64 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.00492, allocations: 79.66 kB / 349.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.005163, allocations: 87.7 kB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.005335, allocations: 111.6 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.005434, allocations: 8.219 kB / 349.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.005538, allocations: 67.75 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005647, allocations: 51.88 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.005669, allocations: 4 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.005762, allocations: 47.91 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.005832, allocations: 19.94 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.005881, allocations: 19.92 kB / 350 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.006077, allocations: 119.6 kB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.006082, allocations: 4 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.006084, allocations: 0 / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.006092, allocations: 0 / 350.2 MB, free: 6.535 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.0005047/0.006597, allocations: 337.6 kB / 350.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.006638, allocations: 15.97 kB / 350.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.006699, allocations: 16.84 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.006948, allocations: 157.5 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.006962, allocations: 4.359 kB / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.006987, allocations: 8.375 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.007131, allocations: 58.23 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007144, allocations: 3.938 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007154, allocations: 0 / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.007158, allocations: 0 / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.007226, allocations: 19.98 kB / 350.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.007509, allocations: 236.5 kB / 351 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.007658, allocations: 54.67 kB / 351.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.00772, allocations: 20.8 kB / 351.1 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.007735, allocations: 8 kB / 351.1 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.007858, allocations: 71.31 kB / 351.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007859, allocations: 0 / 351.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.008348, allocations: 189.3 kB / 351.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.008371, allocations: 51.41 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.008508, allocations: 219 kB / 351.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.008517, allocations: 25.7 kB / 351.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.008552, allocations: 104.1 kB / 351.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.008575, allocations: 27.78 kB / 351.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.008607, allocations: 21.72 kB / 351.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.008672, allocations: 330.8 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/0.008723, allocations: 15.98 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.008775, allocations: 37.7 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-05/0.00887, allocations: 69.58 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.008871, allocations: 0 / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.009026, allocations: 109.6 kB / 352.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.009037, allocations: 8 kB / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009042, allocations: 0 / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.009059, allocations: 7.969 kB / 352.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.009138, allocations: 15.98 kB / 352.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.009144, allocations: 4 kB / 352.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.009188, allocations: 4.375 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.009195, allocations: 4 kB / 352.4 MB, free: 4.141 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 6.933e-05/0.009265, allocations: 130.8 kB / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.009289, allocations: 19.91 kB / 352.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.009509, allocations: 127.2 kB / 352.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.009512, allocations: 0 / 352.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.009516, allocations: 4 kB / 352.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009519, allocations: 7.984 kB / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.009847, allocations: 342.9 kB / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009848, allocations: 0 / 353 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.009882, allocations: 12 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.009884, allocations: 0 / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.009893, allocations: 7.922 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009894, allocations: 7.938 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009895, allocations: 0 / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01008, allocations: 220.2 kB / 353.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.0101, allocations: 15.94 kB / 353.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.01012, allocations: 4 kB / 353.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01019, allocations: 7.984 kB / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.01022, allocations: 4 kB / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.01024, allocations: 7.984 kB / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01035, allocations: 171.2 kB / 353.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01035, allocations: 0 / 353.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.01061, allocations: 23.94 kB / 353.5 MB, free: 2.973 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.002164/0.01278, allocations: 0.4894 MB / 354 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01297, allocations: 55.91 kB / 354 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01297, allocations: 0 / 354 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.01305, allocations: 39.86 kB / 354 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.01344, allocations: 37.62 kB / 354.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.0139, allocations: 244.6 kB / 354.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.01397, allocations: 96.81 kB / 354.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.261e-05/0.01401, allocations: 20.78 kB / 354.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.01405, allocations: 16.5 kB / 354.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01405, allocations: 0 / 354.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of Templates: time 0.004563/0.01861, allocations: 1.839 MB / 356.3 MB, free: 228 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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: 5.204092179075815]