Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009294, allocations: 178.4 kB / 18.08 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 242.1 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.0008901, allocations: 91.92 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3213/0.3213, allocations: 44.15 MB / 388.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 12 kB / 461.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2916, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3997, allocations: 89.57 MB / 0.5982 GB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4, allocations: 83.94 kB / 0.5983 GB, free: 5.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02189/0.4219, allocations: 8.429 MB / 0.6065 GB, free: 13.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4219, allocations: 0 / 0.6065 GB, free: 13.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.422, allocations: 7.938 kB / 0.6065 GB, free: 13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007687/0.4228, allocations: 0.5604 MB / 0.6071 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4228, allocations: 8.031 kB / 0.6071 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.718e-05/0.4229, allocations: 40.55 kB / 0.6071 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.4234, allocations: 315.9 kB / 0.6074 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4234, allocations: 4.375 kB / 0.6074 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.4235, allocations: 8.375 kB / 0.6074 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.4237, allocations: 117.5 kB / 0.6075 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4237, allocations: 192 / 0.6075 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4238, allocations: 3.938 kB / 0.6076 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4238, allocations: 4 kB / 0.6076 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.4239, allocations: 51.95 kB / 0.6076 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.4246, allocations: 0.4967 MB / 0.6081 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.4249, allocations: 129.2 kB / 0.6082 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4251, allocations: 41.83 kB / 0.6083 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.4251, allocations: 4 kB / 0.6083 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.4253, allocations: 121.2 kB / 0.6084 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.4253, allocations: 3.938 kB / 0.6084 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001275/0.4266, allocations: 0.5121 MB / 0.6089 GB, free: 10.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.4266, allocations: 85.05 kB / 0.609 GB, free: 10.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.4272, allocations: 477.6 kB / 0.6094 GB, free: 9.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4272, allocations: 25.7 kB / 0.6094 GB, free: 9.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4273, allocations: 168.5 kB / 0.6096 GB, free: 9.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.4274, allocations: 71.09 kB / 0.6097 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.4274, allocations: 0 / 0.6097 GB, free: 9.555 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4275, allocations: 350.8 kB / 0.61 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4276, allocations: 55.97 kB / 0.6101 GB, free: 9.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4278, allocations: 89.81 kB / 0.6101 GB, free: 9.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.428, allocations: 171.4 kB / 0.6103 GB, free: 8.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4281, allocations: 0 / 0.6103 GB, free: 8.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003819/0.4284, allocations: 241.1 kB / 0.6105 GB, free: 8.629 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4285, allocations: 4 kB / 0.6105 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4285, allocations: 0 / 0.6105 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4285, allocations: 8.062 kB / 0.6105 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.4286, allocations: 51.84 kB / 0.6106 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4287, allocations: 240 / 0.6106 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.4287, allocations: 11.91 kB / 0.6106 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4288, allocations: 11.98 kB / 0.6106 GB, free: 8.543 MB / 426.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.4289, allocations: 182.2 kB / 0.6108 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.429, allocations: 31.62 kB / 0.6108 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.4295, allocations: 276.3 kB / 0.6111 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/0.4295, allocations: 7.938 kB / 0.6111 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4295, allocations: 3.938 kB / 0.6111 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4295, allocations: 3.984 kB / 0.6111 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.4304, allocations: 0.8053 MB / 0.6119 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4305, allocations: 4 kB / 0.6119 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/0.4306, allocations: 31.92 kB / 0.6119 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4306, allocations: 4.188 kB / 0.6119 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4306, allocations: 11.98 kB / 0.6119 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4306, allocations: 3.938 kB / 0.6119 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4306, allocations: 4 kB / 0.6119 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.4311, allocations: 442.4 kB / 0.6124 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4312, allocations: 128.7 kB / 0.6125 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.4312, allocations: 11.98 kB / 0.6125 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4314, allocations: 8 kB / 0.6125 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4315, allocations: 31.84 kB / 0.6125 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.4315, allocations: 12 kB / 0.6125 GB, free: 6.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003704/0.4319, allocations: 355.1 kB / 0.6129 GB, free: 6.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4319, allocations: 3.938 kB / 0.6129 GB, free: 6.078 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.4322, allocations: 71.94 kB / 0.613 GB, free: 6.008 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.4334, allocations: 0.5249 MB / 0.6135 GB, free: 5.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.4338, allocations: 167.8 kB / 0.6136 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4338, allocations: 0 / 0.6136 GB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.434, allocations: 87.84 kB / 0.6137 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.4346, allocations: 57.98 kB / 0.6138 GB, free: 5.383 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.4356, allocations: 0.6715 MB / 0.6144 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.4359, allocations: 0.7797 MB / 0.6152 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.4361, allocations: 49.92 kB / 0.6152 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.4361, allocations: 35.42 kB / 0.6153 GB, free: 3.777 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4361, allocations: 0 / 0.6153 GB, free: 3.777 MB / 426.7 MB Notification: Performance of Templates: time 0.006854/0.443, allocations: 3.406 MB / 0.6186 GB, free: 420 kB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches