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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.001186/0.001187, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.404/1.404, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2068/0.2068, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 60.09 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.374, allocations: 60.83 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002798/0.3768, allocations: 1.703 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3781, allocations: 0.8755 MB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3782, allocations: 5.094 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.3785, allocations: 35.36 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.3787, allocations: 56.08 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.379, allocations: 113 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3792, allocations: 96.81 kB / 0.5225 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.3793, allocations: 11.78 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.3793, allocations: 40.88 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.3794, allocations: 26.81 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3795, allocations: 7.234 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.3795, allocations: 42.98 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.3796, allocations: 18.34 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.3797, allocations: 33.25 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3799, allocations: 119.9 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3799, allocations: 0 / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3799, allocations: 5 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3799, allocations: 0 / 0.5228 GB, free: 1.551 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.0004582/0.3804, allocations: 410.7 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3804, allocations: 8.812 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3805, allocations: 13.48 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3807, allocations: 203.5 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3807, allocations: 5.562 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3807, allocations: 7.016 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3809, allocations: 53.84 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3809, allocations: 3.938 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3809, allocations: 9.844 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3809, allocations: 1.062 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.381, allocations: 22.17 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.3813, allocations: 289.7 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3815, allocations: 56.94 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.3816, allocations: 27.73 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3816, allocations: 1.094 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3817, allocations: 66.19 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.3818, allocations: 4 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005196/0.3823, allocations: 176.7 kB / 0.5241 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.3823, allocations: 57.39 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3825, allocations: 186 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3825, allocations: 26.77 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.3825, allocations: 100.1 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3826, allocations: 25.39 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3826, allocations: 22.73 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3827, allocations: 334.2 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3828, allocations: 17 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.3829, allocations: 35.78 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.383, allocations: 65.61 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.383, allocations: 0.6094 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.3832, allocations: 104.2 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3832, allocations: 6.531 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3832, allocations: 1.25 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3833, allocations: 1.094 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.3834, allocations: 18.11 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3834, allocations: 1.844 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.3834, allocations: 3.625 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3834, allocations: 6.781 kB / 0.525 GB, free: 15.54 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 9.955e-05/0.3835, allocations: 129.3 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3836, allocations: 17.64 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3836, allocations: 15.16 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3836, allocations: 0.5625 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3836, allocations: 5.25 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.3837, allocations: 84.86 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3837, allocations: 6.203 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.3838, allocations: 6.516 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3838, allocations: 12.52 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002309/0.384, allocations: 171.1 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002522/0.3843, allocations: 283.2 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.6e-05/0.3844, allocations: 26.62 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3845, allocations: 146.4 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3845, allocations: 0 / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.3859, allocations: 495.1 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006142/0.3865, allocations: 0.6586 MB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004815/0.3914, allocations: 1.757 MB / 0.5287 GB, free: 13.45 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches