Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 79.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3507, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003535/0.3543, allocations: 1.933 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3562, allocations: 1.06 MB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.3563, allocations: 2.75 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.3566, allocations: 45.33 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.357, allocations: 94.98 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3572, allocations: 97.64 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3575, allocations: 141.3 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3576, allocations: 33.91 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3578, allocations: 57.72 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.3579, allocations: 53.45 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3579, allocations: 6.844 kB / 0.5352 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.358, allocations: 50.83 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-05/0.3581, allocations: 25.83 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.791e-05/0.3582, allocations: 55.81 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3585, allocations: 153.6 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3585, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3585, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3585, allocations: 0 / 0.5354 GB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007319/0.3592, allocations: 483.9 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3593, allocations: 9.031 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.3593, allocations: 20.3 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3596, allocations: 240.2 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3597, allocations: 7.656 kB / 0.5362 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3597, allocations: 8.719 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.36, allocations: 112.2 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.36, allocations: 0 / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.36, allocations: 5.219 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.36, allocations: 2.375 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3602, allocations: 49.69 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.3608, allocations: 0.5 MB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.3612, allocations: 92.22 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3613, allocations: 35.16 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3614, allocations: 10.11 kB / 0.5369 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.3616, allocations: 85.28 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3616, allocations: 4 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004379/0.3621, allocations: 143.3 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3621, allocations: 60.31 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3623, allocations: 196.1 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3624, allocations: 26.83 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.3624, allocations: 122.6 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3625, allocations: 31.14 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.3625, allocations: 35.11 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3627, allocations: 330.5 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.3628, allocations: 24.17 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.363, allocations: 68.27 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3632, allocations: 96.8 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3632, allocations: 0 / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002694/0.3635, allocations: 135.1 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3635, allocations: 9.781 kB / 0.5382 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.3635, allocations: 8.922 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3635, allocations: 2.094 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3636, allocations: 26.47 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3636, allocations: 5.078 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.3637, allocations: 9.531 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.3637, allocations: 4.438 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001194/0.3639, allocations: 136.7 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3639, allocations: 22.23 kB / 0.5385 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.364, allocations: 14.88 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.364, allocations: 5 kB / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.364, allocations: 0 / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3641, allocations: 1.094 kB / 0.5385 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3642, allocations: 214.2 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3642, allocations: 0 / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.3643, allocations: 10.5 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3643, allocations: 0 / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3644, allocations: 5.219 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3644, allocations: 5.406 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3644, allocations: 4 kB / 0.5387 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3648, allocations: 181 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3648, allocations: 88.47 kB / 0.539 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3649, allocations: 2.312 kB / 0.539 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.365, allocations: 15.14 kB / 0.539 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.365, allocations: 3.469 kB / 0.539 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.365, allocations: 11.7 kB / 0.539 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3652, allocations: 145.2 kB / 0.5391 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.3652, allocations: 0 / 0.5391 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3654, allocations: 27.56 kB / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009774/0.3664, allocations: 414.5 kB / 0.5395 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3667, allocations: 83.45 kB / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3667, allocations: 0 / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3669, allocations: 38.11 kB / 0.5397 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3672, allocations: 42.59 kB / 0.5397 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.3678, allocations: 289.6 kB / 0.54 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3682, allocations: 0.7159 MB / 0.5407 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.3682, allocations: 25.02 kB / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3682, allocations: 0 / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Templates: time 0.004465/0.3727, allocations: 2.223 MB / 0.5429 GB, free: 4.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches