Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001702/0.001702, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002301/0.002301, allocations: 161.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.513/1.513, allocations: 177.2 MB / 204.6 MB, free: 5.598 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.3708/0.3708, allocations: 34.27 MB / 295.3 MB, free: 0.6797 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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.772e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003317/0.003344, allocations: 1.722 MB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.005311, allocations: 0.9742 MB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.005385, allocations: 4 kB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.005691, allocations: 47.62 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.006061, allocations: 95.55 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.006563, allocations: 83.72 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.006769, allocations: 107.5 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.006858, allocations: 4 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.006977, allocations: 55.83 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.007065, allocations: 31.84 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.007087, allocations: 4 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.007194, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.007254, allocations: 19.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.00731, allocations: 23.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.00755, allocations: 119.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.007554, allocations: 3.938 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007555, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.007559, allocations: 3.938 kB / 380.7 MB, free: 15.54 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.0006393/0.008199, allocations: 341.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.008234, allocations: 8.031 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.008302, allocations: 16.84 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.00861, allocations: 150.3 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.008623, allocations: 384 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.008652, allocations: 8.375 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.008815, allocations: 62.22 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.008829, allocations: 3.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.008842, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.008846, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.008943, allocations: 23.92 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.009352, allocations: 236.5 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.009552, allocations: 50.67 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.009621, allocations: 20.8 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.009638, allocations: 7.938 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.009824, allocations: 75.38 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009825, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006391/0.01046, allocations: 177.4 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01051, allocations: 51.41 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.01076, allocations: 202.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.0108, allocations: 33.7 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.01088, allocations: 104.1 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.01092, allocations: 27.73 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.01098, allocations: 29.7 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01116, allocations: 326.8 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.01123, allocations: 23.98 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.01131, allocations: 34.08 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01145, allocations: 69.64 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01146, allocations: 0 / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.01168, allocations: 109.6 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.0117, allocations: 8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.0117, allocations: 0 / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01172, allocations: 0 / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01182, allocations: 28.02 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.01183, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.01188, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01189, allocations: 4 kB / 382.9 MB, free: 13.16 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.0001351/0.01202, allocations: 133.7 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01205, allocations: 15.91 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.01234, allocations: 119.1 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01234, allocations: 0 / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01234, allocations: 0 / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01235, allocations: 4 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.01289, allocations: 354.9 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01289, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.01294, allocations: 11.94 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01294, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01296, allocations: 11.98 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01296, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01296, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.01327, allocations: 212.2 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.01329, allocations: 15.89 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01332, allocations: 12.02 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.0134, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.01344, allocations: 7.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01346, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.01363, allocations: 156.2 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01363, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.0139, allocations: 27.88 kB / 384 MB, free: 12.02 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.002955/0.01686, allocations: 494.9 kB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.01708, allocations: 59.91 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01709, allocations: 0 / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01721, allocations: 32.08 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.01781, allocations: 40.05 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.01852, allocations: 233.8 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.01868, allocations: 96.28 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.01876, allocations: 8.984 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.01883, allocations: 20.48 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01884, allocations: 0 / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.007527/0.02636, allocations: 1.863 MB / 386.8 MB, free: 9.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.835985288023949]