Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.88 kB / 482.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002862/0.3794, allocations: 1.736 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3809, allocations: 1.024 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.381, allocations: 1.125 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3813, allocations: 39.94 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3816, allocations: 95.03 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3818, allocations: 79.16 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3819, allocations: 105.4 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.382, allocations: 15.34 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.3821, allocations: 51.67 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.3822, allocations: 30.02 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3823, allocations: 4.438 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3824, allocations: 44.28 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.3824, allocations: 18.58 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.3825, allocations: 36.06 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3827, allocations: 122.1 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3827, allocations: 1.219 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3827, allocations: 3.984 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3827, allocations: 4 kB / 0.5351 GB, free: 11.02 MB / 398.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.0005028/0.3832, allocations: 420.5 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3833, allocations: 9.094 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3833, allocations: 13.41 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3836, allocations: 221 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3836, allocations: 3.125 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3836, allocations: 5.281 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3838, allocations: 58.3 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3838, allocations: 4 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3838, allocations: 1.031 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3838, allocations: 1.156 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.3839, allocations: 18.3 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.3843, allocations: 282.9 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3845, allocations: 61.8 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.3845, allocations: 22.39 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3846, allocations: 0 / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.3847, allocations: 69.61 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3847, allocations: 0 / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004918/0.3852, allocations: 182.3 kB / 0.5364 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3853, allocations: 52.78 kB / 0.5364 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3854, allocations: 200.7 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3855, allocations: 26.73 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.3855, allocations: 104.7 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3855, allocations: 27.72 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.3856, allocations: 20.12 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3857, allocations: 326.9 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.3858, allocations: 22.48 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.3859, allocations: 48.36 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.386, allocations: 58.34 kB / 0.5372 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.386, allocations: 0 / 0.5372 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.3862, allocations: 108.2 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3862, allocations: 5.344 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3862, allocations: 1.062 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3862, allocations: 1.125 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.3863, allocations: 24.11 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3863, allocations: 1.125 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3864, allocations: 6.25 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3864, allocations: 6.562 kB / 0.5374 GB, free: 8.84 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.154e-05/0.3865, allocations: 127.7 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.3865, allocations: 13.47 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.3866, allocations: 13.97 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3866, allocations: 1.062 kB / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3866, allocations: 0 / 0.5375 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.3866, allocations: 96.23 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3867, allocations: 5.062 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.3867, allocations: 2.156 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3868, allocations: 6.172 kB / 0.5376 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002125/0.387, allocations: 172.8 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002823/0.3873, allocations: 283.1 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.422e-05/0.3873, allocations: 29.42 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.3875, allocations: 152.1 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of Backend: time 2.61e-07/0.3875, allocations: 0 / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3888, allocations: 479.2 kB / 0.5387 GB, free: 7.836 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006049/0.3895, allocations: 0.6656 MB / 0.5393 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Templates: time 0.004358/0.3938, allocations: 1.781 MB / 0.5411 GB, free: 6.293 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches