Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001458/0.001458, 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.001615/0.001615, allocations: 213.7 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.356/1.356, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.2164/0.2164, allocations: 46.93 MB / 361.5 MB, free: 4.188 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 75.88 kB / 0.4975 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3041, allocations: 66.08 MB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003642/0.3077, allocations: 2.298 MB / 0.5643 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.31, allocations: 1.348 MB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3101, allocations: 11.88 kB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.3105, allocations: 135.3 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.3111, allocations: 270.8 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.3115, allocations: 191.6 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.312, allocations: 474.5 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3121, allocations: 48.89 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.3126, allocations: 346.9 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3128, allocations: 175.1 kB / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.3128, allocations: 20 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.313, allocations: 75.97 kB / 0.5673 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3132, allocations: 151.3 kB / 0.5674 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3133, allocations: 206.3 kB / 0.5676 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.3139, allocations: 484.2 kB / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3139, allocations: 0 / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3139, allocations: 0 / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3139, allocations: 0 / 0.5681 GB, free: 14.02 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001214/0.3151, allocations: 0.8457 MB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3151, allocations: 8.031 kB / 0.5689 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3152, allocations: 72.47 kB / 0.569 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.3158, allocations: 377.7 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3158, allocations: 20.3 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.3159, allocations: 20.31 kB / 0.5694 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.3163, allocations: 197.3 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3163, allocations: 7.938 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3163, allocations: 7.984 kB / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3163, allocations: 4 kB / 0.5696 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3165, allocations: 87.92 kB / 0.5697 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3176, allocations: 0.8006 MB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.3182, allocations: 226.5 kB / 0.5707 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.3185, allocations: 91.52 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3186, allocations: 12.16 kB / 0.5708 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.3189, allocations: 196.3 kB / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.3189, allocations: 0 / 0.5709 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002458/0.3214, allocations: 1.194 MB / 0.5721 GB, free: 9.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.3215, allocations: 136.5 kB / 0.5722 GB, free: 9.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3225, allocations: 0.9536 MB / 0.5732 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3226, allocations: 33.7 kB / 0.5732 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.3228, allocations: 277 kB / 0.5735 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3229, allocations: 150.8 kB / 0.5736 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.323, allocations: 86.02 kB / 0.5737 GB, free: 7.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3232, allocations: 321.9 kB / 0.574 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3234, allocations: 116.8 kB / 0.5741 GB, free: 7.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.3237, allocations: 183.2 kB / 0.5743 GB, free: 7.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.3243, allocations: 315.1 kB / 0.5746 GB, free: 7.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3243, allocations: 7.938 kB / 0.5746 GB, free: 7.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007383/0.325, allocations: 452.8 kB / 0.575 GB, free: 6.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.325, allocations: 4 kB / 0.575 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.325, allocations: 7.938 kB / 0.575 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.325, allocations: 4 kB / 0.575 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3253, allocations: 87.89 kB / 0.5751 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3253, allocations: 4 kB / 0.5751 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3255, allocations: 28.05 kB / 0.5752 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3255, allocations: 12 kB / 0.5752 GB, free: 6.414 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002791/0.3258, allocations: 253.4 kB / 0.5754 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3259, allocations: 83.48 kB / 0.5755 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.3268, allocations: 0.5083 MB / 0.576 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3268, allocations: 8 kB / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3268, allocations: 4 kB / 0.576 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3268, allocations: 3.984 kB / 0.576 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3285, allocations: 1.306 MB / 0.5773 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3285, allocations: 4 kB / 0.5773 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.3287, allocations: 59.92 kB / 0.5773 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3287, allocations: 4.375 kB / 0.5773 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3288, allocations: 15.98 kB / 0.5774 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3288, allocations: 7.938 kB / 0.5774 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3288, allocations: 4.25 kB / 0.5774 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/0.3297, allocations: 0.8059 MB / 0.5782 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.3298, allocations: 103.5 kB / 0.5782 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.3299, allocations: 19.98 kB / 0.5783 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.3302, allocations: 15.98 kB / 0.5783 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.3303, allocations: 47.81 kB / 0.5783 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3303, allocations: 20 kB / 0.5783 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007509/0.331, allocations: 0.706 MB / 0.579 GB, free: 2.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.331, allocations: 0 / 0.579 GB, free: 2.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.3315, allocations: 83.94 kB / 0.5791 GB, free: 2.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001923/0.3335, allocations: 0.5324 MB / 0.5796 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.3341, allocations: 299.6 kB / 0.5799 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3341, allocations: 0 / 0.5799 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.3343, allocations: 144.4 kB / 0.5801 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.3352, allocations: 129.5 kB / 0.5802 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3372, allocations: 1.262 MB / 0.5814 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.3378, allocations: 0.9133 MB / 0.5823 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3379, allocations: 55.42 kB / 0.5824 GB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3379, allocations: 0 / 0.5824 GB, free: 14.99 MB / 430.1 MB Notification: Performance of Templates: time 0.01007/0.348, allocations: 6.847 MB / 0.589 GB, free: 8.156 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.685602676821873]