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.001006/0.001006, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001019/0.001019, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.995/0.995, allocations: 177 MB / 204.8 MB, free: 5.582 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.2709/0.2709, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.503e-06/1.503e-06, allocations: 3.938 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.063e-05, allocations: 3.016 kB / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002573/0.002604, allocations: 1.765 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004047, allocations: 1.016 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004148, allocations: 3.938 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.004469, allocations: 35.77 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.004803, allocations: 99.47 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.005364, allocations: 83.59 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.005579, allocations: 107.6 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.005677, allocations: 12 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.005779, allocations: 55.83 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.005859, allocations: 23.91 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.005877, allocations: 8 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.005984, allocations: 47.91 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.00604, allocations: 15.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.006089, allocations: 19.88 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.006305, allocations: 103.6 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006309, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00631, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.006315, allocations: 0 / 382.2 MB, free: 14.6 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.0004916/0.006807, allocations: 451.9 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.006846, allocations: 8.031 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.006895, allocations: 16.84 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.007097, allocations: 157.1 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.007115, allocations: 384 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.007144, allocations: 20.23 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.007263, allocations: 58.94 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.007273, allocations: 4.188 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.007282, allocations: 384 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.007291, allocations: 3.938 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.007329, allocations: 12 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.007664, allocations: 283.8 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.00778, allocations: 63.09 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.007813, allocations: 11.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.007829, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.007936, allocations: 68.98 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.007938, allocations: 0 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004333/0.008371, allocations: 157.4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.008404, allocations: 59.39 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.00856, allocations: 230.3 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.008577, allocations: 33.7 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.008645, allocations: 146.9 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.008677, allocations: 27.78 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.008721, allocations: 31.38 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.008851, allocations: 0.4961 MB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.008883, allocations: 15.98 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.008924, allocations: 27.38 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.009002, allocations: 55.36 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009003, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001465/0.00915, allocations: 97.45 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.009163, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.009171, allocations: 4 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.009187, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.009266, allocations: 15.98 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.009273, allocations: 3.938 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.009308, allocations: 8 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.009317, allocations: 4.375 kB / 384.8 MB, free: 11.84 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 8.411e-05/0.009401, allocations: 164.6 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.009423, allocations: 15.89 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.009608, allocations: 103.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.009611, allocations: 3.984 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009615, allocations: 7.938 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.009618, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.009972, allocations: 389 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.009974, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.01001, allocations: 8 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01001, allocations: 4.031 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01002, allocations: 11.98 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01003, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01003, allocations: 3.984 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.01021, allocations: 255.4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.01023, allocations: 11.91 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01025, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.0103, allocations: 8 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.01034, allocations: 7.984 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01036, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.01045, allocations: 167.1 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01045, allocations: 7.938 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.01072, allocations: 27.94 kB / 386 MB, free: 10.57 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.00107/0.01179, allocations: 428 kB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01193, allocations: 59.53 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01193, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.01198, allocations: 35.61 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.01229, allocations: 35.2 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.01269, allocations: 221.9 kB / 386.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.01274, allocations: 67.33 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.59e-05/0.01279, allocations: 17.27 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.01282, allocations: 20.5 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01283, allocations: 0 / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of Templates: time 0.00421/0.01704, allocations: 1.858 MB / 388.7 MB, free: 7.941 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: 3.4452547929249704]