Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002509/0.002509, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00293/0.00293, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3832/0.3832, allocations: 34.26 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.533e-05, allocations: 4.422 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00344/0.003475, allocations: 1.727 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005558, allocations: 1.001 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.005637, allocations: 8 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.00599, allocations: 51.62 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.006363, allocations: 99.53 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.00659, allocations: 79.66 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.006816, allocations: 111.6 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.006924, allocations: 8 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.007054, allocations: 51.89 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.007155, allocations: 35.78 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.00718, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007296, allocations: 47.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.007371, allocations: 27.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.007425, allocations: 19.88 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.007687, allocations: 135.6 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.00769, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.007692, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007697, allocations: 3.938 kB / 380.7 MB, free: 15.39 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.0007554/0.008452, allocations: 483.3 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.008493, allocations: 11.97 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.008566, allocations: 16.84 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.008859, allocations: 161.3 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.008884, allocations: 12.36 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.008904, allocations: 384 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.009048, allocations: 50.23 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.009061, allocations: 4.188 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.009072, allocations: 384 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.00908, allocations: 3.938 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.009161, allocations: 23.97 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.009655, allocations: 315.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.009853, allocations: 63.17 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.009917, allocations: 23.67 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.009936, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.0101, allocations: 76.92 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.0101, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000603/0.01071, allocations: 189.5 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.01076, allocations: 55.41 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.01108, allocations: 293.6 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01111, allocations: 33.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.01124, allocations: 170.9 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.01129, allocations: 27.78 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.01134, allocations: 27.38 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000322/0.01166, allocations: 0.5157 MB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.01172, allocations: 16 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.0118, allocations: 47.47 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01194, allocations: 71.3 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01194, allocations: 0 / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.01214, allocations: 109.5 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01216, allocations: 8 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01217, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01218, allocations: 3.938 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.01227, allocations: 15.98 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.01228, allocations: 160 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.01232, allocations: 4 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01233, allocations: 8 kB / 383.5 MB, free: 12.38 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.0005662/0.0129, allocations: 167 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01293, allocations: 19.84 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.01321, allocations: 131.1 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.01321, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.01321, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01321, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.01379, allocations: 436.9 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01379, allocations: 0 / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.01383, allocations: 8 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.01384, allocations: 4 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01385, allocations: 3.984 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01385, allocations: 3.938 kB / 384.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.01385, allocations: 8.031 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.01417, allocations: 271.7 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.0142, allocations: 15.91 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01423, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.0143, allocations: 11.98 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.01434, allocations: 0 / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.01436, allocations: 7.984 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.01456, allocations: 204.5 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01456, allocations: 4 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01481, allocations: 23.94 kB / 384.8 MB, free: 11 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.003417/0.01823, allocations: 494 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.01845, allocations: 75.53 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01845, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.01855, allocations: 43.67 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.01892, allocations: 39.42 kB / 385.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.01948, allocations: 266.5 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.0196, allocations: 104.9 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.01965, allocations: 21.25 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.0197, allocations: 20.56 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0197, allocations: 0 / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005685/0.02538, allocations: 1.878 MB / 387.7 MB, free: 8.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.9488261269871145]