Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001827/0.001827, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001658/0.001658, allocations: 165.7 kB / 24.27 MB, free: 172 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.482/1.482, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.363/0.363, allocations: 34.27 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.662e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004197/0.004234, allocations: 1.73 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.006268, allocations: 0.9703 MB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.00635, allocations: 4 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.006662, allocations: 39.64 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.007017, allocations: 103.5 kB / 380.2 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.007264, allocations: 83.59 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.007474, allocations: 103.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.007569, allocations: 8 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.007691, allocations: 55.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.007783, allocations: 31.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.007804, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.007909, allocations: 47.91 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.007969, allocations: 19.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.00802, allocations: 15.94 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.008255, allocations: 119.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008258, allocations: 3.938 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.008259, allocations: 3.938 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.008263, allocations: 0 / 380.7 MB, free: 15.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005892/0.008853, allocations: 341.6 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.008888, allocations: 8.031 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.008956, allocations: 16.84 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.009255, allocations: 158.3 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.009271, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.009293, allocations: 4.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.009457, allocations: 54.23 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.009473, allocations: 7.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.009483, allocations: 3.938 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.009486, allocations: 0 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.009567, allocations: 19.98 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.009947, allocations: 236.5 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.01013, allocations: 54.67 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.01021, allocations: 32.72 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.01022, allocations: 4 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.01039, allocations: 67.39 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.01039, allocations: 0 / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006023/0.011, allocations: 181.4 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.01104, allocations: 51.41 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.01153, allocations: 210.6 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.01155, allocations: 25.7 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.01164, allocations: 104.1 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.01168, allocations: 23.78 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.01173, allocations: 29.66 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.01191, allocations: 326.8 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.01198, allocations: 23.98 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.01206, allocations: 38.02 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.0122, allocations: 69.7 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.0122, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000238/0.01244, allocations: 113.6 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01245, allocations: 4 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.01246, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01247, allocations: 4.031 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.01257, allocations: 16 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01257, allocations: 3.984 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.01263, allocations: 4 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.01264, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.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 0.0001277/0.01276, allocations: 133.7 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.0128, allocations: 15.89 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01308, allocations: 119.1 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01308, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01308, allocations: 7.938 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01309, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.01361, allocations: 350.9 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01361, allocations: 3.938 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.01366, allocations: 12 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01366, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01367, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01368, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01368, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.01398, allocations: 220.2 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.014, allocations: 15.94 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01403, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.0141, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.01415, allocations: 7.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.01416, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.01433, allocations: 160.2 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01433, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.0146, allocations: 27.92 kB / 384 MB, free: 12.01 MB / 362.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.002208/0.01681, allocations: 495 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.01701, allocations: 63.89 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01702, allocations: 0 / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01712, allocations: 32.08 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.0175, allocations: 47.28 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.01801, allocations: 229.6 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.01813, allocations: 92.3 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.01818, allocations: 12.97 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.01823, allocations: 20.5 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01823, allocations: 0 / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005348/0.02358, allocations: 1.859 MB / 386.8 MB, free: 9.359 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.724651591968723]