Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001469/0.001469, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001621/0.001621, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.341/1.341, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 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.2148/0.2148, allocations: 46.93 MB / 361.5 MB, free: 4.152 MB / 286.1 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 80.2 kB / 0.4975 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3051, allocations: 66.08 MB / 0.562 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00324/0.3084, allocations: 1.85 MB / 0.5638 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3102, allocations: 1.119 MB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.3103, allocations: 0 / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.3108, allocations: 315.2 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.3113, allocations: 255.2 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3115, allocations: 107.7 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3119, allocations: 267.2 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3119, allocations: 5.812 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3121, allocations: 143.5 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3124, allocations: 215.5 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3124, allocations: 11.92 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3125, allocations: 51.92 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3127, allocations: 139.6 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3128, allocations: 150.8 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.3133, allocations: 384.5 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3133, allocations: 4 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3133, allocations: 0 / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3133, allocations: 0 / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001001/0.3143, allocations: 0.6786 MB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3143, allocations: 11.97 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.3144, allocations: 56.61 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.3151, allocations: 398.5 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3151, allocations: 384 / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3151, allocations: 8.312 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3153, allocations: 91.67 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.3153, allocations: 4 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3153, allocations: 0 / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3153, allocations: 4 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3155, allocations: 31.97 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.3159, allocations: 357.3 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3161, allocations: 101.2 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.3162, allocations: 41.69 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3163, allocations: 3.984 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.3165, allocations: 113 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.3165, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004755/0.317, allocations: 197.2 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.317, allocations: 81.09 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3182, allocations: 1.05 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3182, allocations: 29.7 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3184, allocations: 236.1 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3184, allocations: 39.73 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.3185, allocations: 21.72 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3186, allocations: 374.8 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.3187, allocations: 31.98 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.527e-05/0.3188, allocations: 59.36 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.319, allocations: 95.84 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.319, allocations: 7.938 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002806/0.3193, allocations: 169.2 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3193, allocations: 6.344 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3193, allocations: 4 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3193, allocations: 0 / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3194, allocations: 31.98 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3194, allocations: 3.938 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.3195, allocations: 15.92 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3195, allocations: 4 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000206/0.3197, allocations: 216 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.3198, allocations: 67.55 kB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.3202, allocations: 193.8 kB / 0.5715 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3202, allocations: 8 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3202, allocations: 0 / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3202, allocations: 0 / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.3205, allocations: 320.5 kB / 0.5718 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3205, allocations: 0 / 0.5718 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.3206, allocations: 12.19 kB / 0.5718 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3206, allocations: 4 kB / 0.5718 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3206, allocations: 7.984 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3206, allocations: 3.938 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3206, allocations: 0 / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.3209, allocations: 217.5 kB / 0.5721 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3211, allocations: 67.53 kB / 0.5721 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.3211, allocations: 11.98 kB / 0.5721 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.3212, allocations: 4 kB / 0.5721 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3212, allocations: 7.984 kB / 0.5722 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.3213, allocations: 8 kB / 0.5722 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008418/0.3221, allocations: 0.7839 MB / 0.5729 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3221, allocations: 0 / 0.5729 GB, free: 8.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3224, allocations: 47.98 kB / 0.573 GB, free: 8.602 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001485/0.3239, allocations: 408.1 kB / 0.5734 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3241, allocations: 75.91 kB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3241, allocations: 0 / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3242, allocations: 48.03 kB / 0.5735 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3247, allocations: 84.19 kB / 0.5736 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3261, allocations: 0.9418 MB / 0.5745 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.3266, allocations: 0.8429 MB / 0.5753 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.3267, allocations: 35.42 kB / 0.5753 GB, free: 6.262 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3267, allocations: 0 / 0.5753 GB, free: 6.262 MB / 414.1 MB Notification: Performance of Templates: time 0.008851/0.3355, allocations: 5.242 MB / 0.5805 GB, free: 1.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 7.363793622003868]