Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001199, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 76.16 kB / 482.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3998, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003387/0.4032, allocations: 1.732 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.4052, allocations: 1.027 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.4053, allocations: 1.094 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.4057, allocations: 45.27 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.4061, allocations: 95.34 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.4063, allocations: 79.06 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.4065, allocations: 110.2 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4066, allocations: 6.688 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.4067, allocations: 44.38 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.4068, allocations: 37.34 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.4069, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.407, allocations: 40.86 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.4071, allocations: 30.72 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.4071, allocations: 32 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.4074, allocations: 127.4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4074, allocations: 0 / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4074, allocations: 1.375 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4074, allocations: 0 / 0.5351 GB, free: 11.04 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.0006807/0.4081, allocations: 420.4 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4082, allocations: 8.25 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.4082, allocations: 22.23 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4085, allocations: 216.5 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4086, allocations: 5.75 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4086, allocations: 6.875 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4087, allocations: 54.05 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4088, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4088, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4088, allocations: 1.375 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.4089, allocations: 26.92 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.4093, allocations: 282.9 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4095, allocations: 61.92 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.4095, allocations: 18.48 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4095, allocations: 0 / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.4097, allocations: 74.44 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.856e-06/0.4097, allocations: 0 / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.4103, allocations: 177.6 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4103, allocations: 52.56 kB / 0.5364 GB, free: 9.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.4105, allocations: 208.2 kB / 0.5366 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4106, allocations: 30.77 kB / 0.5367 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.4106, allocations: 101 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4107, allocations: 28.02 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.4107, allocations: 28.14 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4108, allocations: 330.7 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.4109, allocations: 18.75 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.411, allocations: 36.02 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4111, allocations: 58.64 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4111, allocations: 1.156 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.4113, allocations: 99.31 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4113, allocations: 14.7 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4114, allocations: 3.984 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4114, allocations: 5.094 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4115, allocations: 21.09 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4115, allocations: 1.125 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.4116, allocations: 5.266 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4116, allocations: 7.469 kB / 0.5374 GB, free: 8.859 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.0001028/0.4117, allocations: 123.6 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.4117, allocations: 9.656 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.4118, allocations: 23.11 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4118, allocations: 1.125 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4118, allocations: 0 / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.4119, allocations: 88.45 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4119, allocations: 9.125 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.4119, allocations: 5.141 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.412, allocations: 3.5 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002317/0.4122, allocations: 180.9 kB / 0.5378 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002834/0.4125, allocations: 274.1 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.881e-05/0.4126, allocations: 30.3 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.4128, allocations: 158.6 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of Backend: time 1.813e-06/0.4128, allocations: 0 / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.4142, allocations: 490.2 kB / 0.5387 GB, free: 7.852 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006987/0.4149, allocations: 0.6752 MB / 0.5394 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Templates: time 0.004875/0.4198, allocations: 1.788 MB / 0.5411 GB, free: 6.297 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches