Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001482/0.001482, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001564/0.001564, allocations: 156.9 kB / 24.26 MB, free: 152 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.542/1.542, allocations: 177 MB / 204.5 MB, free: 5.629 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.362/0.362, allocations: 34.25 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.608e-05/3.859e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004019/0.004057, allocations: 1.718 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005994, allocations: 0.9736 MB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.006065, allocations: 4 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.006388, allocations: 43.7 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.006759, allocations: 87.53 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.007003, allocations: 87.59 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.007236, allocations: 107.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.007346, allocations: 11.97 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.007467, allocations: 51.84 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.007566, allocations: 23.92 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.007589, allocations: 7.984 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.007706, allocations: 43.92 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.007779, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.007843, allocations: 19.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.008113, allocations: 115.6 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.008129, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.008131, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.008136, allocations: 0 / 380.6 MB, free: 15.48 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.0007074/0.008843, allocations: 341.6 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.008896, allocations: 12.03 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.008967, allocations: 12.84 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.009342, allocations: 145.4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.009368, allocations: 12.38 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.009395, allocations: 4.312 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.009592, allocations: 58.23 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.009604, allocations: 192 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.009616, allocations: 4.375 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.009624, allocations: 3.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.009708, allocations: 19.98 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.01015, allocations: 228.5 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.01035, allocations: 58.61 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.01042, allocations: 24.84 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.01044, allocations: 3.984 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.01062, allocations: 71.33 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.01062, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006907/0.01131, allocations: 185.3 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.01137, allocations: 55.41 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.0116, allocations: 175 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.01162, allocations: 25.7 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.0117, allocations: 96.14 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.01174, allocations: 31.78 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.0118, allocations: 25.72 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.012, allocations: 326.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.01207, allocations: 23.98 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.01215, allocations: 37.7 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01229, allocations: 53.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.01229, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002406/0.01253, allocations: 121.4 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01255, allocations: 8.031 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01255, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.01258, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01268, allocations: 19.94 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.01269, allocations: 4.094 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.01275, allocations: 7.984 kB / 382.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01275, allocations: 4 kB / 382.8 MB, free: 13.14 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.0001457/0.0129, allocations: 117.8 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01294, allocations: 19.89 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.01325, allocations: 126.5 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01325, allocations: 4 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.01326, allocations: 4.359 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01326, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.0138, allocations: 339 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.0138, allocations: 4 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.01386, allocations: 15.98 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01387, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01388, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01388, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01388, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01419, allocations: 220.2 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.01422, allocations: 11.95 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01424, allocations: 3.984 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.01432, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.01437, allocations: 11.97 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.01439, allocations: 8 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.01453, allocations: 132.1 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01453, allocations: 3.938 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.01481, allocations: 31.92 kB / 383.8 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.002204/0.01702, allocations: 480.3 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01723, allocations: 67.78 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.01724, allocations: 4 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.01733, allocations: 32.05 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.01771, allocations: 27.94 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.01823, allocations: 217.8 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.01834, allocations: 89.44 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01839, allocations: 17.33 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.01843, allocations: 20.5 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01843, allocations: 0 / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005562/0.02399, allocations: 1.852 MB / 386.6 MB, free: 9.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.974328603013419]