Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 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.2341/0.2341, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 75.88 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4867, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003357/0.4901, allocations: 1.725 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.4924, allocations: 1.021 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.4925, allocations: 5.188 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000448/0.493, allocations: 32.89 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.4934, allocations: 94.36 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.4936, allocations: 79.05 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.4939, allocations: 106.2 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4941, allocations: 14.72 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4942, allocations: 38.73 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.4943, allocations: 34.05 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.4944, allocations: 4.719 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.4945, allocations: 43.12 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.4946, allocations: 21.11 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.4947, allocations: 31.83 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.4951, allocations: 116.3 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4951, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4951, allocations: 1.375 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.4951, allocations: 0 / 0.5344 GB, free: 11.05 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.0009042/0.496, allocations: 414.2 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.4961, allocations: 13.56 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.4961, allocations: 9.016 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.4965, allocations: 218.5 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4966, allocations: 5.75 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.4966, allocations: 6.875 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4968, allocations: 54.05 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4968, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4969, allocations: 5.359 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4969, allocations: 0 / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.497, allocations: 18.98 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.4975, allocations: 285.5 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4977, allocations: 65.86 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.4978, allocations: 21.09 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.4978, allocations: 1.375 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.498, allocations: 65.14 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.498, allocations: 4 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007082/0.4987, allocations: 177.2 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4988, allocations: 52.91 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.499, allocations: 168.8 kB / 0.5359 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4991, allocations: 30.73 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.4991, allocations: 104.2 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4992, allocations: 23.48 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.4992, allocations: 24.8 kB / 0.536 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4994, allocations: 330.1 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.4995, allocations: 19.09 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.4996, allocations: 34.86 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.4997, allocations: 55.42 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4997, allocations: 3.938 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.4999, allocations: 111.5 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5, allocations: 9.25 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5, allocations: 1.312 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.5, allocations: 1.438 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5002, allocations: 20.44 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.5002, allocations: 1.281 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.5002, allocations: 9.203 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5002, allocations: 3.906 kB / 0.5366 GB, free: 8.898 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.0001323/0.5004, allocations: 120.9 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.5004, allocations: 12.73 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.5005, allocations: 20.92 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5005, allocations: 1.188 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.5005, allocations: 0 / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5005, allocations: 5.219 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.501, allocations: 391.6 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.501, allocations: 1.156 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.5011, allocations: 7.656 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.5011, allocations: 9.078 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5011, allocations: 5.125 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.5011, allocations: 1.219 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5011, allocations: 0.9375 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.5014, allocations: 203.4 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.5015, allocations: 88.45 kB / 0.5374 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.5015, allocations: 6.312 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.5016, allocations: 13.05 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.5016, allocations: 3.219 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.5017, allocations: 4.375 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5018, allocations: 133 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5018, allocations: 0 / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.5021, allocations: 24.97 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001254/0.5034, allocations: 454.8 kB / 0.5381 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.5036, allocations: 62.53 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5036, allocations: 0 / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.5037, allocations: 29.8 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.504, allocations: 44.16 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.5045, allocations: 201.8 kB / 0.5384 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5048, allocations: 0.699 MB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.5048, allocations: 18.97 kB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5049, allocations: 19 kB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5049, allocations: 0 / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of Templates: time 0.005641/0.5105, allocations: 1.725 MB / 0.5408 GB, free: 5.883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches