Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 110 kB / 18.45 MB, free: 4.602 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.001293/0.001293, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.37/1.37, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2153/0.2153, allocations: 44.17 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3579, allocations: 60.82 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002917/0.3608, allocations: 1.724 MB / 0.5213 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.3622, allocations: 0.8798 MB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.3623, allocations: 1.125 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.3627, allocations: 110.1 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3629, allocations: 85.34 kB / 0.5224 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3633, allocations: 109.6 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3635, allocations: 125.7 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3636, allocations: 21.8 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3637, allocations: 58.86 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3638, allocations: 70.17 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3639, allocations: 5.281 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.364, allocations: 60.44 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3641, allocations: 31.42 kB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.3641, allocations: 43.67 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.3644, allocations: 148.8 kB / 0.523 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3644, allocations: 0 / 0.523 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3644, allocations: 9 kB / 0.523 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3644, allocations: 0 / 0.523 GB, free: 1.465 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005277/0.365, allocations: 441.8 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.365, allocations: 9.875 kB / 0.5235 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3651, allocations: 15.91 kB / 0.5235 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3653, allocations: 225.7 kB / 0.5237 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3653, allocations: 1.531 kB / 0.5237 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3654, allocations: 12.38 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3655, allocations: 65.3 kB / 0.5238 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3656, allocations: 0.7969 kB / 0.5238 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3656, allocations: 5.094 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3656, allocations: 5.062 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.3657, allocations: 32.81 kB / 0.5238 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.366, allocations: 322.1 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3663, allocations: 72.42 kB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.3664, allocations: 35.89 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3664, allocations: 1.469 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.3666, allocations: 74.84 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3666, allocations: 0.75 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007886/0.3674, allocations: 275.7 kB / 0.5246 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.3674, allocations: 61.16 kB / 0.5246 GB, free: 124 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3677, allocations: 249 kB / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3677, allocations: 31.64 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3678, allocations: 111.1 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.3678, allocations: 33.09 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.3679, allocations: 28.64 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.368, allocations: 329.3 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.3681, allocations: 37.59 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.3682, allocations: 54.97 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3683, allocations: 89.02 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3683, allocations: 2.312 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002393/0.3686, allocations: 140.9 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3686, allocations: 6.531 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3686, allocations: 32 / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3686, allocations: 5.656 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.3687, allocations: 27.34 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3688, allocations: 4.547 kB / 0.5257 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3688, allocations: 3.656 kB / 0.5257 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3688, allocations: 4.125 kB / 0.5257 GB, free: 15.28 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 (14): * Single equations (assignments): 14 * 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.0001177/0.3689, allocations: 139.4 kB / 0.5259 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.369, allocations: 16.06 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.369, allocations: 20.66 kB / 0.5259 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3691, allocations: 9.359 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3691, allocations: 3.938 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3691, allocations: 1.125 kB / 0.5259 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.3697, allocations: 477.6 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3697, allocations: 96 / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.3697, allocations: 23.98 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3698, allocations: 1.375 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3698, allocations: 7.984 kB / 0.5264 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3698, allocations: 1.375 kB / 0.5264 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3698, allocations: 6.359 kB / 0.5264 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3701, allocations: 247.2 kB / 0.5266 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3701, allocations: 91.25 kB / 0.5267 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.3702, allocations: 6.062 kB / 0.5267 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3703, allocations: 7.922 kB / 0.5267 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3703, allocations: 8.531 kB / 0.5268 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3703, allocations: 9.422 kB / 0.5268 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3705, allocations: 181 kB / 0.5269 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3705, allocations: 0 / 0.5269 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3708, allocations: 39.45 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00116/0.372, allocations: 0.5048 MB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3722, allocations: 88.41 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3722, allocations: 0 / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.3723, allocations: 52.2 kB / 0.5276 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3727, allocations: 35.09 kB / 0.5276 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.3733, allocations: 337.2 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3736, allocations: 0.7242 MB / 0.5287 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.3736, allocations: 20.59 kB / 0.5287 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3736, allocations: 0 / 0.5287 GB, free: 13.07 MB / 398.1 MB Notification: Performance of Templates: time 0.004549/0.3782, allocations: 2.383 MB / 0.531 GB, free: 11.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches