Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 120.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 202 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.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 79.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6051, allocations: 62.42 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003692/0.6089, allocations: 1.834 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.6129, allocations: 1.693 MB / 0.5345 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.6131, allocations: 1.375 kB / 0.5345 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.6138, allocations: 53.44 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.6144, allocations: 137.7 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.6149, allocations: 105.8 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.6153, allocations: 207.1 kB / 0.535 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.6154, allocations: 13.94 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.6156, allocations: 84.67 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.6158, allocations: 83.69 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.6159, allocations: 8.594 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.6162, allocations: 115.3 kB / 0.5353 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.6163, allocations: 39.94 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.6164, allocations: 62.03 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.6168, allocations: 227 kB / 0.5356 GB, free: 10.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6168, allocations: 9.125 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6168, allocations: 0 / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.6169, allocations: 0 / 0.5356 GB, free: 10.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008362/0.6177, allocations: 0.4943 MB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6178, allocations: 9.875 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.6178, allocations: 20.97 kB / 0.5361 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.6183, allocations: 253.8 kB / 0.5363 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6183, allocations: 2.719 kB / 0.5363 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.6184, allocations: 11.53 kB / 0.5364 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.6186, allocations: 106.8 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6187, allocations: 1.188 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.6187, allocations: 5.297 kB / 0.5365 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6187, allocations: 0 / 0.5365 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.6188, allocations: 32.3 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.6191, allocations: 217.5 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.6194, allocations: 106.3 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.6195, allocations: 45.48 kB / 0.5368 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.6196, allocations: 6.016 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.6198, allocations: 104.1 kB / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.6198, allocations: 0 / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005146/0.6204, allocations: 171.8 kB / 0.5371 GB, free: 8.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6205, allocations: 135 kB / 0.5372 GB, free: 8.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.6208, allocations: 240.1 kB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.6208, allocations: 30.86 kB / 0.5375 GB, free: 8.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.6209, allocations: 116 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.621, allocations: 31.8 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.621, allocations: 36.17 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6212, allocations: 326.9 kB / 0.538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.6213, allocations: 27.86 kB / 0.538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.6214, allocations: 78.03 kB / 0.5381 GB, free: 7.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.6216, allocations: 86.61 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6216, allocations: 0 / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002981/0.6219, allocations: 141.5 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.622, allocations: 5.188 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.622, allocations: 1.094 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.622, allocations: 5.344 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6221, allocations: 25.91 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.6222, allocations: 6.172 kB / 0.5384 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.6223, allocations: 12.86 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.6223, allocations: 3.281 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001421/0.6224, allocations: 137.7 kB / 0.5385 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.6225, allocations: 16.25 kB / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.6225, allocations: 24.17 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6225, allocations: 1.094 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6226, allocations: 0.875 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6226, allocations: 1.25 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.6228, allocations: 231.8 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6228, allocations: 0 / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.6229, allocations: 14.94 kB / 0.5388 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.6229, allocations: 1.094 kB / 0.5388 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.6229, allocations: 5.172 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6229, allocations: 5.031 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6229, allocations: 1.156 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.6233, allocations: 166.9 kB / 0.5389 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.6234, allocations: 98.47 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.6234, allocations: 2.312 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.6235, allocations: 3.75 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.6235, allocations: 15.61 kB / 0.5391 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.6236, allocations: 5.094 kB / 0.5391 GB, free: 6.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.6238, allocations: 182.3 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.6238, allocations: 0 / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.6241, allocations: 53.53 kB / 0.5393 GB, free: 6.746 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001331/0.6255, allocations: 0.4939 MB / 0.5398 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.6258, allocations: 88.23 kB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6258, allocations: 4.125 kB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.6259, allocations: 39.69 kB / 0.5399 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.6263, allocations: 64.34 kB / 0.54 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.6269, allocations: 277.5 kB / 0.5402 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.6273, allocations: 0.7218 MB / 0.5409 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.499e-05/0.6274, allocations: 35.83 kB / 0.541 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.6274, allocations: 26.58 kB / 0.541 GB, free: 5.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6274, allocations: 0 / 0.541 GB, free: 5.43 MB / 398.1 MB Notification: Performance of Templates: time 0.007419/0.6349, allocations: 3.126 MB / 0.544 GB, free: 3.84 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches