Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.002486/0.002486, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002961/0.002961, allocations: 160.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.566/1.566, allocations: 177 MB / 204.4 MB, free: 5.617 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.3748/0.3748, allocations: 34.26 MB / 295.2 MB, free: 0.6445 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.416e-05, allocations: 6.25 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003753/0.003787, allocations: 1.734 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005746, allocations: 1.001 MB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.005824, allocations: 4 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.006123, allocations: 47.64 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.006462, allocations: 95.53 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.006723, allocations: 71.67 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.006945, allocations: 111.6 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.007025, allocations: 7.984 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.007135, allocations: 47.91 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.007227, allocations: 35.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.007248, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.007352, allocations: 51.86 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.00742, allocations: 27.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.007466, allocations: 15.94 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.007707, allocations: 111.6 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.007711, allocations: 4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007712, allocations: 0 / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.007716, allocations: 0 / 380.7 MB, free: 15.45 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.0006591/0.008375, allocations: 447.5 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008412, allocations: 8.031 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.008479, allocations: 20.83 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.008748, allocations: 161.1 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008762, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.00878, allocations: 4.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.008925, allocations: 54.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.008937, allocations: 192 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.008949, allocations: 4.359 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.008958, allocations: 7.938 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.009031, allocations: 15.98 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.009482, allocations: 299.7 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.009685, allocations: 63.16 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.009745, allocations: 27.67 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.009762, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.009934, allocations: 80.92 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.009936, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005828/0.01052, allocations: 169.4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.01058, allocations: 59.39 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.01093, allocations: 246.4 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.01096, allocations: 25.7 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01112, allocations: 158.8 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.01118, allocations: 35.77 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.01124, allocations: 31.38 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.01153, allocations: 0.5001 MB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.01159, allocations: 27.92 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.01167, allocations: 43.36 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.0118, allocations: 59.31 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.0118, allocations: 4 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002108/0.01202, allocations: 101.6 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01203, allocations: 4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.01204, allocations: 4.375 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01206, allocations: 4.031 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.01215, allocations: 19.92 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01216, allocations: 4.156 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.0122, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01221, allocations: 4 kB / 383.3 MB, free: 12.57 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.0001362/0.01235, allocations: 164.6 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.01239, allocations: 19.84 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.0127, allocations: 119 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.0127, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01271, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01271, allocations: 4 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.01327, allocations: 424.9 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01327, allocations: 0 / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.01331, allocations: 8 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01332, allocations: 4 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01332, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.01333, allocations: 3.984 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01333, allocations: 7.938 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01368, allocations: 267.4 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.0137, allocations: 11.91 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01373, allocations: 8.031 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.01379, allocations: 0 / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01384, allocations: 11.98 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01386, allocations: 4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.01403, allocations: 179.1 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01403, allocations: 0 / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01429, allocations: 27.94 kB / 384.5 MB, free: 11.25 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.003359/0.01765, allocations: 481.6 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01787, allocations: 79.53 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01787, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.01797, allocations: 43.61 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.01838, allocations: 27.59 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.019, allocations: 226.1 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.01914, allocations: 104.3 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.01921, allocations: 21.27 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.01927, allocations: 16.5 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01927, allocations: 0 / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.007167/0.02644, allocations: 1.87 MB / 387.4 MB, free: 8.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.150725851999596]