Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.000985/0.000985, allocations: 85.81 kB / 21.43 MB, free: 3.066 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.0008934/0.0008934, allocations: 165 kB / 24.82 MB, free: 9.312 MB / 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 0.9638/0.9638, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2491/0.2491, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.762e-05, allocations: 2.312 kB / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002585/0.002613, allocations: 1.762 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003829, allocations: 0.9993 MB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.003924, allocations: 0 / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.004215, allocations: 43.7 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.004513, allocations: 99.53 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.004995, allocations: 83.53 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.005173, allocations: 107.7 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.005269, allocations: 4 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.005367, allocations: 59.77 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.005449, allocations: 23.91 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.005463, allocations: 4 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.00557, allocations: 43.92 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.005624, allocations: 27.91 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.005664, allocations: 15.94 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005846, allocations: 111.5 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.00585, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.005851, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005856, allocations: 0 / 382.7 MB, free: 14.36 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.0004293/0.006285, allocations: 447.8 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.006321, allocations: 8.031 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.006361, allocations: 20.84 kB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.006506, allocations: 157.1 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.00652, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.006537, allocations: 8.359 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.006646, allocations: 66.88 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.006654, allocations: 192 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.006662, allocations: 384 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.006669, allocations: 7.938 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.006693, allocations: 7.984 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.006937, allocations: 260.4 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/0.007021, allocations: 55.03 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.007048, allocations: 15.69 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.007064, allocations: 0 / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.852e-05/0.007152, allocations: 65.05 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.007154, allocations: 0 / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003114/0.007465, allocations: 141.4 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.007494, allocations: 55.41 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.007619, allocations: 230.3 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.007631, allocations: 25.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.007688, allocations: 150.9 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.007716, allocations: 27.77 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.007749, allocations: 23.38 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.007868, allocations: 0.5001 MB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.007888, allocations: 15.98 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.007919, allocations: 39.28 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.007965, allocations: 35.38 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007966, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001164/0.008082, allocations: 101.8 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.008098, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008105, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008119, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.008188, allocations: 16 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.00819, allocations: 4.031 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.008218, allocations: 4 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.008224, allocations: 3.984 kB / 385.2 MB, free: 11.68 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 7.088e-05/0.008295, allocations: 164.5 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.008313, allocations: 19.84 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.008445, allocations: 103.1 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008447, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008449, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008452, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.008709, allocations: 361.6 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.00871, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.008738, allocations: 11.98 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.008742, allocations: 4 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.008747, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.008749, allocations: 3.938 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00875, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.008886, allocations: 259.4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.008898, allocations: 7.953 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.008921, allocations: 4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.008965, allocations: 12.02 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.008989, allocations: 4 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.009001, allocations: 3.984 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.009065, allocations: 163.1 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009066, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.009234, allocations: 23.94 kB / 386.3 MB, free: 10.48 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.0009425/0.01018, allocations: 440.5 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.01029, allocations: 47.59 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01029, allocations: 4 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.01032, allocations: 31.67 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01055, allocations: 39.61 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.01088, allocations: 221.9 kB / 387 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.01092, allocations: 63.34 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.01096, allocations: 21.27 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.01103, allocations: 90.19 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01103, allocations: 4.062 kB / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of Templates: time 0.003914/0.01494, allocations: 2.025 MB / 389.2 MB, free: 7.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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: 2.8610624941065907]