Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 177.3 kB / 17.06 MB, free: 5.082 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.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.83 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.000932/0.0009319, allocations: 94.97 kB / 292.2 MB, free: 10.89 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.4107/0.4107, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3959, allocations: 61.89 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.5056, allocations: 89.25 MB / 0.5967 GB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5059, allocations: 79.94 kB / 0.5968 GB, free: 5.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5213, allocations: 5.495 MB / 0.6022 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5214, allocations: 0 / 0.6022 GB, free: 300 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.5214, allocations: 3.938 kB / 0.6022 GB, free: 296 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005438/0.5219, allocations: 414.8 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.522, allocations: 12.02 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.5221, allocations: 11.91 kB / 0.6026 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.5224, allocations: 211.8 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5224, allocations: 11.95 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.5224, allocations: 0 / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.5226, allocations: 61.61 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5226, allocations: 4 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5226, allocations: 0 / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5226, allocations: 0 / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.5227, allocations: 19.98 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.5231, allocations: 292.9 kB / 0.6032 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.5233, allocations: 66.61 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5233, allocations: 0 / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.5235, allocations: 67.52 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5235, allocations: 0 / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005651/0.524, allocations: 177.2 kB / 0.6035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.5241, allocations: 55.41 kB / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.5243, allocations: 167.1 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5243, allocations: 33.69 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.5244, allocations: 100.1 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.5244, allocations: 27.64 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5244, allocations: 0 / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5245, allocations: 330.8 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.5246, allocations: 23.98 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.5247, allocations: 33.7 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.5247, allocations: 32.19 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5248, allocations: 0 / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.5249, allocations: 109.5 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.525, allocations: 5.875 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.525, allocations: 0 / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.525, allocations: 4 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.5251, allocations: 23.97 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5251, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.5251, allocations: 7.984 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5252, allocations: 0 / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000101/0.5253, allocations: 132.3 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.5253, allocations: 7.906 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.5255, allocations: 126.2 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5256, allocations: 4 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5256, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5256, allocations: 0 / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.526, allocations: 407.3 kB / 0.605 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.526, allocations: 4 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.5261, allocations: 8.375 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.5261, allocations: 3.984 kB / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5261, allocations: 8 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.5261, allocations: 4.031 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5261, allocations: 3.938 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5264, allocations: 230.1 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.5265, allocations: 96.94 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.5265, allocations: 4 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.5266, allocations: 4 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5266, allocations: 11.98 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5266, allocations: 7.953 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.5268, allocations: 148 kB / 0.6055 GB, free: 12.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5268, allocations: 0 / 0.6055 GB, free: 12.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.527, allocations: 31.94 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001012/0.528, allocations: 473.1 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.5282, allocations: 63.91 kB / 0.6061 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5283, allocations: 0 / 0.6061 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.5283, allocations: 40.06 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5286, allocations: 29.7 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.5291, allocations: 242.5 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5294, allocations: 0.7199 MB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.5295, allocations: 12.55 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.5295, allocations: 15.44 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5295, allocations: 0 / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004252/0.5338, allocations: 1.682 MB / 0.6087 GB, free: 9.352 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches