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.0009708/0.0009708, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001595/0.001595, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.223 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.2906/0.2906, allocations: 34.25 MB / 295.7 MB, free: 0.6445 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.974e-06/1.974e-06, allocations: 0 / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.589e-05, allocations: 2.312 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.007371/0.007397, allocations: 1.941 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.0123, allocations: 1.107 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.01241, allocations: 0 / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.01295, allocations: 263.1 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.01342, allocations: 239.1 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.01368, allocations: 119.5 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.01659, allocations: 283.2 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.0167, allocations: 17.95 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.0169, allocations: 163.6 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.01711, allocations: 191.6 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.01714, allocations: 8 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.01723, allocations: 63.91 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.0173, allocations: 71.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.01737, allocations: 51.78 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.01765, allocations: 203.2 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01765, allocations: 0 / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01765, allocations: 0 / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.01765, allocations: 3.938 kB / 382.8 MB, free: 13.82 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.0007528/0.01841, allocations: 0.6118 MB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.01845, allocations: 12.03 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.01854, allocations: 40.7 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.01884, allocations: 238.9 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.01887, allocations: 4.375 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.0189, allocations: 12.36 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.01914, allocations: 110.2 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.01915, allocations: 11.92 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.01917, allocations: 4 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.01918, allocations: 0 / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.01926, allocations: 35.91 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.01982, allocations: 0.5141 MB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.02007, allocations: 126.1 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.02012, allocations: 35.48 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.02013, allocations: 4 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.02027, allocations: 112.3 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.02028, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008251/0.0211, allocations: 492.4 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.02115, allocations: 89.05 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.02145, allocations: 430.8 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.02147, allocations: 33.7 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.02158, allocations: 219.3 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.02165, allocations: 83.36 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.0217, allocations: 47.36 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.02186, allocations: 0.5313 MB / 386.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.02192, allocations: 31.98 kB / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.022, allocations: 78.66 kB / 386.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.02212, allocations: 134.8 kB / 386.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.02212, allocations: 0 / 386.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002225/0.02235, allocations: 201.2 kB / 387 MB, free: 9.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.02236, allocations: 8 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.02237, allocations: 0 / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.02238, allocations: 0 / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.02247, allocations: 43.98 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.02248, allocations: 13.05 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.02253, allocations: 7.984 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.02254, allocations: 12.06 kB / 387.1 MB, free: 9.254 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 9.33e-05/0.02264, allocations: 172.6 kB / 387.3 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.02267, allocations: 39.77 kB / 387.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.02294, allocations: 236.4 kB / 387.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02294, allocations: 4 kB / 387.5 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.02294, allocations: 3.938 kB / 387.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02295, allocations: 3.984 kB / 387.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.02348, allocations: 0.7606 MB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02348, allocations: 4 kB / 388.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.02354, allocations: 35.92 kB / 388.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.02354, allocations: 4 kB / 388.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.02356, allocations: 11.92 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.02356, allocations: 4 kB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02356, allocations: 0 / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.02385, allocations: 0.508 MB / 388.9 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.02388, allocations: 39.75 kB / 388.9 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.02391, allocations: 16.12 kB / 388.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.02398, allocations: 4 kB / 388.9 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.02403, allocations: 19.97 kB / 389 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.02405, allocations: 11.98 kB / 389 MB, free: 7.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02421, allocations: 303 kB / 389.3 MB, free: 6.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02421, allocations: 0 / 389.3 MB, free: 6.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.02444, allocations: 51.94 kB / 389.3 MB, free: 6.93 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.001088/0.02553, allocations: 494.7 kB / 389.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.02573, allocations: 128 kB / 389.9 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.02573, allocations: 4 kB / 389.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.02581, allocations: 71.53 kB / 390 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.02615, allocations: 83.53 kB / 390.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.02677, allocations: 0.5244 MB / 390.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.203e-05/0.02684, allocations: 108.3 kB / 390.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.02692, allocations: 33.94 kB / 390.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.02697, allocations: 32.48 kB / 390.8 MB, free: 5.574 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02697, allocations: 0 / 390.8 MB, free: 5.574 MB / 362.7 MB Notification: Performance of Templates: time 0.006971/0.03394, allocations: 3.626 MB / 394.4 MB, free: 2.004 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.3622603798285127]