Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 208 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.448/1.448, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3697/0.3697, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 71.88 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3481, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00301/0.3512, allocations: 1.692 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3528, allocations: 1.002 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.3529, allocations: 0 / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3532, allocations: 64.48 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3535, allocations: 102 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3537, allocations: 81.53 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3539, allocations: 103.7 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.354, allocations: 12.34 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.3541, allocations: 43.03 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.3542, allocations: 44.45 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3542, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.3543, allocations: 32.61 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.3543, allocations: 22.73 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.3544, allocations: 34.61 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3546, allocations: 109.3 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3546, allocations: 0 / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3546, allocations: 4 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3546, allocations: 1.625 kB / 0.535 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005483/0.3552, allocations: 403.8 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3552, allocations: 9.969 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.3553, allocations: 17.39 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3556, allocations: 208.4 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3556, allocations: 5.5 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3556, allocations: 10.02 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3558, allocations: 51.66 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3558, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3558, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3558, allocations: 1.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.3559, allocations: 12.17 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3561, allocations: 182.4 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3562, allocations: 58.81 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.3563, allocations: 30.03 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3563, allocations: 0 / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.3565, allocations: 68.33 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3565, allocations: 1.281 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002839/0.3568, allocations: 91.02 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3568, allocations: 56.47 kB / 0.5361 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.357, allocations: 196 kB / 0.5363 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3571, allocations: 26.92 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.3571, allocations: 104.6 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3572, allocations: 18 kB / 0.5365 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.3572, allocations: 19 kB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3573, allocations: 326.1 kB / 0.5368 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.3574, allocations: 15.83 kB / 0.5368 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.3575, allocations: 39.97 kB / 0.5369 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.722e-05/0.3576, allocations: 38.75 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3576, allocations: 1.094 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.3577, allocations: 86.67 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3578, allocations: 5.812 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3578, allocations: 1.125 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3578, allocations: 0 / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.3579, allocations: 17.06 kB / 0.537 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3579, allocations: 5.344 kB / 0.537 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3579, allocations: 6.328 kB / 0.537 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3579, allocations: 2.125 kB / 0.537 GB, free: 9.07 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 (7): * Single equations (assignments): 7 * 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.0001064/0.3581, allocations: 126.2 kB / 0.5371 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3581, allocations: 12.84 kB / 0.5371 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.3581, allocations: 21.84 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3581, allocations: 1.125 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3582, allocations: 0 / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3582, allocations: 5 kB / 0.5372 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.3583, allocations: 188.7 kB / 0.5373 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3583, allocations: 5.5 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.3584, allocations: 2.5 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3584, allocations: 0 / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3584, allocations: 1.344 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3584, allocations: 1.375 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3584, allocations: 0 / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3586, allocations: 121.9 kB / 0.5375 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.3587, allocations: 83.17 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3587, allocations: 1.125 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.3587, allocations: 6.297 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3588, allocations: 1.312 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3588, allocations: 2.719 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3589, allocations: 152.5 kB / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3589, allocations: 0 / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.3592, allocations: 24.44 kB / 0.5377 GB, free: 8.363 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009621/0.3601, allocations: 402 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.3603, allocations: 47.8 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3603, allocations: 0 / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.3604, allocations: 20.45 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3607, allocations: 30.72 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.3612, allocations: 226.3 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3615, allocations: 0.7043 MB / 0.5391 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3615, allocations: 14.16 kB / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3615, allocations: 0 / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of Templates: time 0.003747/0.3653, allocations: 1.749 MB / 0.5408 GB, free: 6.289 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches