Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 113.8 kB / 17.78 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001466, allocations: 183.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3179/0.3179, allocations: 44.18 MB / 336.7 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4322, allocations: 60.81 MB / 0.519 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004762/0.4371, allocations: 1.718 MB / 0.5207 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4391, allocations: 0.8718 MB / 0.5215 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.4393, allocations: 0 / 0.5215 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.4398, allocations: 28.83 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.4402, allocations: 54.33 kB / 0.5216 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.4409, allocations: 117.5 kB / 0.5217 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.4412, allocations: 96.5 kB / 0.5218 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4413, allocations: 6.578 kB / 0.5218 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4415, allocations: 46.33 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.4416, allocations: 27.2 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.4416, allocations: 2.312 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.4418, allocations: 46.69 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.4419, allocations: 24.78 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.442, allocations: 29.59 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.4423, allocations: 112.3 kB / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4423, allocations: 0 / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4423, allocations: 0 / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4423, allocations: 0 / 0.5221 GB, free: 1.574 MB / 382.1 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.0006167/0.443, allocations: 393.9 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.443, allocations: 9.406 kB / 0.5225 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.4431, allocations: 13.83 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4435, allocations: 203.8 kB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4435, allocations: 9.828 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.4435, allocations: 10.33 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4437, allocations: 58.25 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4438, allocations: 0.7969 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4438, allocations: 1.125 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.4438, allocations: 0 / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4439, allocations: 18.97 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.4443, allocations: 291.3 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4446, allocations: 57 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.4447, allocations: 23.86 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4447, allocations: 1.531 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4449, allocations: 69.38 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.4449, allocations: 1.438 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007476/0.4457, allocations: 170.4 kB / 0.5233 GB, free: 420 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.4457, allocations: 60.94 kB / 0.5234 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4459, allocations: 156.9 kB / 0.5236 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4459, allocations: 30.86 kB / 0.5236 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.446, allocations: 98.3 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.446, allocations: 18.48 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.4461, allocations: 29.62 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4463, allocations: 320.4 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.4464, allocations: 22.5 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4465, allocations: 39.16 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4467, allocations: 53.56 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4467, allocations: 1.25 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003072/0.447, allocations: 112.7 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.447, allocations: 4.469 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4471, allocations: 6 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4471, allocations: 3.938 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4472, allocations: 15.22 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4472, allocations: 1.922 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.4473, allocations: 3.156 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4474, allocations: 3.594 kB / 0.5243 GB, free: 15.59 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.4475, allocations: 129.4 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.4476, allocations: 9.203 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.4476, allocations: 18.8 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4476, allocations: 1.125 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4477, allocations: 3.938 kB / 0.5244 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4477, allocations: 1.766 kB / 0.5244 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.4484, allocations: 387.2 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4484, allocations: 0 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4485, allocations: 14.42 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4485, allocations: 0 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.4485, allocations: 6.547 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.4485, allocations: 2.469 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4485, allocations: 384 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.4489, allocations: 200.5 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.449, allocations: 91.83 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.4491, allocations: 6.953 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4492, allocations: 6.875 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.4492, allocations: 6.125 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.4493, allocations: 3.344 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.4494, allocations: 129.5 kB / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4495, allocations: 0 / 0.5253 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.4499, allocations: 25.12 kB / 0.5253 GB, free: 14.71 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001651/0.4515, allocations: 478.1 kB / 0.5257 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.4518, allocations: 63.94 kB / 0.5258 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4519, allocations: 0 / 0.5258 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.452, allocations: 25.61 kB / 0.5258 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.4526, allocations: 38.09 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.4533, allocations: 200.8 kB / 0.526 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4537, allocations: 0.6979 MB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.4538, allocations: 16.41 kB / 0.5267 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.4539, allocations: 16.55 kB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4539, allocations: 0 / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Templates: time 0.006848/0.4608, allocations: 1.704 MB / 0.5284 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches