Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 187 kB / 18.09 MB, free: 3.723 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.309/1.309, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0009413/0.0009413, allocations: 95.02 kB / 293.3 MB, free: 10.57 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.3769/0.3769, allocations: 44.15 MB / 388.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 61.89 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.4982, allocations: 89.57 MB / 0.5982 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4985, allocations: 83.94 kB / 0.5983 GB, free: 5.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02087/0.5194, allocations: 8.425 MB / 0.6065 GB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5194, allocations: 0 / 0.6065 GB, free: 12.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.5194, allocations: 7.938 kB / 0.6065 GB, free: 12.98 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.0007271/0.5202, allocations: 0.5643 MB / 0.6071 GB, free: 12.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5202, allocations: 8.031 kB / 0.6071 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.5203, allocations: 32.56 kB / 0.6071 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.5207, allocations: 311.9 kB / 0.6074 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.5208, allocations: 16.31 kB / 0.6074 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.5208, allocations: 4.375 kB / 0.6074 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.521, allocations: 113.8 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.521, allocations: 4.188 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.521, allocations: 7.938 kB / 0.6076 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5211, allocations: 0 / 0.6076 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.5212, allocations: 51.95 kB / 0.6076 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.5218, allocations: 0.4967 MB / 0.6081 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.5222, allocations: 125.2 kB / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.5223, allocations: 49.83 kB / 0.6083 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.5223, allocations: 0 / 0.6083 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.5225, allocations: 117.2 kB / 0.6084 GB, free: 10.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.5225, allocations: 0 / 0.6084 GB, free: 10.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001273/0.5238, allocations: 0.5199 MB / 0.6089 GB, free: 10.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.5239, allocations: 85.05 kB / 0.609 GB, free: 10.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.5244, allocations: 473.6 kB / 0.6094 GB, free: 9.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.5244, allocations: 33.7 kB / 0.6094 GB, free: 9.766 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5245, allocations: 168.4 kB / 0.6096 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.5246, allocations: 63.11 kB / 0.6097 GB, free: 9.535 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.5246, allocations: 8 kB / 0.6097 GB, free: 9.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5248, allocations: 346.8 kB / 0.61 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5249, allocations: 59.97 kB / 0.6101 GB, free: 9.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.525, allocations: 89.81 kB / 0.6101 GB, free: 9.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.5253, allocations: 171.4 kB / 0.6103 GB, free: 8.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5253, allocations: 0 / 0.6103 GB, free: 8.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003768/0.5257, allocations: 237.1 kB / 0.6105 GB, free: 8.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5257, allocations: 5.094 kB / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5257, allocations: 0 / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5258, allocations: 4 kB / 0.6105 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5259, allocations: 51.84 kB / 0.6106 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5259, allocations: 8.062 kB / 0.6106 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.526, allocations: 11.91 kB / 0.6106 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.526, allocations: 8 kB / 0.6106 GB, free: 8.52 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.0001786/0.5262, allocations: 170.3 kB / 0.6108 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.5263, allocations: 39.61 kB / 0.6108 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.5268, allocations: 272.2 kB / 0.6111 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5268, allocations: 11.94 kB / 0.6111 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5269, allocations: 3.984 kB / 0.6111 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.5269, allocations: 0 / 0.6111 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5279, allocations: 0.813 MB / 0.6119 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.528, allocations: 3.984 kB / 0.6119 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.5281, allocations: 35.92 kB / 0.6119 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.5281, allocations: 0 / 0.6119 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.5281, allocations: 15.98 kB / 0.6119 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5281, allocations: 0 / 0.6119 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5281, allocations: 4 kB / 0.6119 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.5286, allocations: 438.4 kB / 0.6124 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.5287, allocations: 128.7 kB / 0.6125 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.5288, allocations: 8 kB / 0.6125 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.5289, allocations: 12 kB / 0.6125 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.529, allocations: 27.91 kB / 0.6125 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.529, allocations: 11.94 kB / 0.6125 GB, free: 6.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003609/0.5294, allocations: 359.1 kB / 0.6129 GB, free: 6.062 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.362e-06/0.5294, allocations: 0 / 0.6129 GB, free: 6.062 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.5298, allocations: 79.86 kB / 0.613 GB, free: 5.984 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.001136/0.5309, allocations: 0.5163 MB / 0.6135 GB, free: 5.672 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.5313, allocations: 179.5 kB / 0.6136 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5313, allocations: 0 / 0.6136 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.5315, allocations: 87.84 kB / 0.6137 GB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.5322, allocations: 57.05 kB / 0.6138 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5334, allocations: 0.6722 MB / 0.6144 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.5339, allocations: 0.7859 MB / 0.6152 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.5341, allocations: 53.92 kB / 0.6152 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.5342, allocations: 31.42 kB / 0.6153 GB, free: 3.75 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5342, allocations: 0 / 0.6153 GB, free: 3.75 MB / 426.7 MB Notification: Performance of Templates: time 0.008077/0.5422, allocations: 3.403 MB / 0.6186 GB, free: 396 kB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches