Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, 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.001286/0.001286, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003331/0.3774, allocations: 1.724 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3792, allocations: 1.024 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3793, allocations: 5.094 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.3796, allocations: 41.08 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.3799, allocations: 95.78 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.3801, allocations: 78.98 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3803, allocations: 102.4 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.3804, allocations: 13.52 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.3805, allocations: 44.77 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.3805, allocations: 42.02 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3806, allocations: 3.344 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.3807, allocations: 40.05 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.3807, allocations: 19.98 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.3808, allocations: 39.69 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.381, allocations: 127.4 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.381, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.381, allocations: 1.156 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.381, 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.0005388/0.3816, allocations: 419.5 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3816, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3817, allocations: 22.17 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3819, allocations: 212.5 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3819, allocations: 5.734 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.382, allocations: 6.875 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3821, allocations: 54.05 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3821, allocations: 4 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3822, allocations: 0 / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3822, allocations: 1.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.3822, allocations: 22.92 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.3826, allocations: 290.9 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3828, allocations: 53.92 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.3829, allocations: 22.48 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3829, allocations: 3.938 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.383, allocations: 65.14 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.383, allocations: 5.312 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.3836, allocations: 178.6 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3836, allocations: 51.41 kB / 0.5364 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3838, allocations: 212.2 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3838, allocations: 26.8 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3839, allocations: 105.7 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.3839, allocations: 24.47 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.384, allocations: 23.3 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3841, allocations: 331.1 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.3842, allocations: 15.28 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.3842, allocations: 38.83 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3844, allocations: 71.48 kB / 0.5372 GB, free: 8.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3844, allocations: 0 / 0.5372 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.3846, allocations: 104.5 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3846, allocations: 8.266 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3846, allocations: 1.594 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3846, allocations: 1.594 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.3847, allocations: 19.91 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3847, allocations: 1.25 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.3848, allocations: 2.594 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3848, allocations: 10.39 kB / 0.5374 GB, free: 8.844 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.0001104/0.3849, allocations: 124.5 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.3849, allocations: 9.281 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.385, allocations: 19.08 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.385, allocations: 3.938 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.385, allocations: 0.625 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3851, allocations: 91.64 kB / 0.5376 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3851, allocations: 6.094 kB / 0.5376 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.3851, allocations: 9.047 kB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3852, allocations: 7.844 kB / 0.5376 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002215/0.3854, allocations: 173.2 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002405/0.3857, allocations: 269.7 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.514e-05/0.3857, allocations: 33.8 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3859, allocations: 163 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of Backend: time 3.4e-07/0.3859, allocations: 0 / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3873, allocations: 488.2 kB / 0.5387 GB, free: 7.836 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006521/0.3879, allocations: 0.669 MB / 0.5394 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Templates: time 0.00484/0.3928, allocations: 1.802 MB / 0.5411 GB, free: 6.281 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches