Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 73.02 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 159.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.89 kB / 443.2 MB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3203, allocations: 66 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003024/0.3233, allocations: 2.169 MB / 0.4994 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3251, allocations: 1.27 MB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3252, allocations: 7.219 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.3256, allocations: 133.5 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.326, allocations: 269 kB / 0.5011 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.3264, allocations: 193.6 kB / 0.5012 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.3268, allocations: 464.6 kB / 0.5017 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3269, allocations: 54.42 kB / 0.5017 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.3272, allocations: 324.4 kB / 0.5021 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3274, allocations: 172.3 kB / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.3274, allocations: 15.84 kB / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3276, allocations: 88.95 kB / 0.5023 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3277, allocations: 144.2 kB / 0.5025 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3278, allocations: 159.5 kB / 0.5026 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.3282, allocations: 497.2 kB / 0.5031 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3282, allocations: 0 / 0.5031 GB, free: 26.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3282, allocations: 0 / 0.5031 GB, free: 26.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3282, allocations: 0 / 0.5031 GB, free: 26.49 MB / 446.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.0008682/0.3291, allocations: 0.84 MB / 0.5039 GB, free: 25.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.3291, allocations: 9.281 kB / 0.5039 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.3292, allocations: 75.84 kB / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.3296, allocations: 366.5 kB / 0.5043 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3296, allocations: 17.72 kB / 0.5043 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3296, allocations: 24.2 kB / 0.5044 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3299, allocations: 190.3 kB / 0.5046 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.33, allocations: 4 kB / 0.5046 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.33, allocations: 6.641 kB / 0.5046 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.33, allocations: 2.938 kB / 0.5046 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.3302, allocations: 113.8 kB / 0.5047 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.3309, allocations: 0.743 MB / 0.5054 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.3314, allocations: 239.1 kB / 0.5056 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3316, allocations: 87.59 kB / 0.5057 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3316, allocations: 7.062 kB / 0.5057 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.3319, allocations: 212.3 kB / 0.5059 GB, free: 24.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3319, allocations: 0 / 0.5059 GB, free: 24.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002106/0.334, allocations: 1.23 MB / 0.5071 GB, free: 23.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3341, allocations: 142.2 kB / 0.5073 GB, free: 23.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.3348, allocations: 0.9737 MB / 0.5082 GB, free: 23.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3348, allocations: 40.02 kB / 0.5082 GB, free: 23.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.335, allocations: 275.5 kB / 0.5085 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.3351, allocations: 145.3 kB / 0.5086 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.3351, allocations: 81.36 kB / 0.5087 GB, free: 22.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.3352, allocations: 329.8 kB / 0.509 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3354, allocations: 118.2 kB / 0.5092 GB, free: 22.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3356, allocations: 195.2 kB / 0.5093 GB, free: 22.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.3361, allocations: 324.4 kB / 0.5096 GB, free: 22.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3361, allocations: 0 / 0.5096 GB, free: 22.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006321/0.3367, allocations: 458.3 kB / 0.5101 GB, free: 22.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3367, allocations: 6.25 kB / 0.5101 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3367, allocations: 3.219 kB / 0.5101 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3367, allocations: 7.125 kB / 0.5101 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.337, allocations: 85.58 kB / 0.5102 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.337, allocations: 5.75 kB / 0.5102 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3371, allocations: 13.58 kB / 0.5102 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3372, allocations: 25.91 kB / 0.5102 GB, free: 22.05 MB / 446.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.0002155/0.3374, allocations: 263.1 kB / 0.5105 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.3375, allocations: 81.17 kB / 0.5106 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3385, allocations: 0.5351 MB / 0.5111 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3385, allocations: 5.688 kB / 0.5111 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3385, allocations: 2.281 kB / 0.5111 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3385, allocations: 4.094 kB / 0.5111 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.34, allocations: 1.28 MB / 0.5123 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.34, allocations: 3.219 kB / 0.5123 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3402, allocations: 70.59 kB / 0.5124 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3402, allocations: 7.719 kB / 0.5124 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3403, allocations: 15.58 kB / 0.5124 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.3403, allocations: 8.25 kB / 0.5124 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3403, allocations: 3.281 kB / 0.5124 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.3411, allocations: 0.8446 MB / 0.5133 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.3413, allocations: 113.7 kB / 0.5134 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.3413, allocations: 19.06 kB / 0.5134 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.3416, allocations: 16.73 kB / 0.5134 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.3417, allocations: 49.16 kB / 0.5135 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.3417, allocations: 24.95 kB / 0.5135 GB, free: 20.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006457/0.3424, allocations: 0.7115 MB / 0.5142 GB, free: 19.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 0.5142 GB, free: 19.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.3429, allocations: 96.67 kB / 0.5143 GB, free: 19.83 MB / 446.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 (48): * Single equations (assignments): 40 * 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.002002/0.3449, allocations: 0.5673 MB / 0.5148 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.3455, allocations: 316.4 kB / 0.5151 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3455, allocations: 0.8125 kB / 0.5151 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.3458, allocations: 162.2 kB / 0.5153 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.3468, allocations: 134 kB / 0.5154 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3483, allocations: 1.23 MB / 0.5166 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3486, allocations: 322.4 kB / 0.5169 GB, free: 18.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.3488, allocations: 77.66 kB / 0.517 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3489, allocations: 57.44 kB / 0.517 GB, free: 18.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3489, allocations: 1.125 kB / 0.517 GB, free: 18.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01158/0.3605, allocations: 5.767 MB / 0.5227 GB, free: 17.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.067572955973446]