Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001303, 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.001391/0.001391, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, 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.2192/0.2192, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 75.88 kB / 482.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3543, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003199/0.3575, allocations: 1.737 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3592, allocations: 1.019 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.3593, allocations: 1.375 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.3597, allocations: 53.61 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.36, allocations: 111.1 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3602, allocations: 82.91 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3604, allocations: 93.02 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3605, allocations: 14.86 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3607, allocations: 40.3 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.325e-05/0.3607, allocations: 38.77 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3608, allocations: 4.125 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.3609, allocations: 39.48 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.361, allocations: 30.84 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.361, allocations: 49.03 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3613, allocations: 136.9 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3613, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3613, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3613, allocations: 1.031 kB / 0.5351 GB, free: 11 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.0006208/0.3619, allocations: 446.1 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.362, allocations: 9.031 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.362, allocations: 15.44 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3623, allocations: 227.9 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3623, allocations: 1.156 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3624, allocations: 11 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3625, allocations: 61.66 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3626, allocations: 1.406 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3626, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3626, allocations: 1.406 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.3627, allocations: 22.02 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3631, allocations: 296 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3633, allocations: 60.98 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3633, allocations: 17.92 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3634, allocations: 1.094 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3635, allocations: 69.39 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3635, allocations: 0 / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.3641, allocations: 189 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3641, allocations: 52.59 kB / 0.5365 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3644, allocations: 272.1 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3645, allocations: 29.69 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.3645, allocations: 112.3 kB / 0.5369 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3646, allocations: 22.81 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3646, allocations: 28.42 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3648, allocations: 331.8 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.3648, allocations: 27.77 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.3649, allocations: 34.89 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.365, allocations: 55.56 kB / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.365, allocations: 0 / 0.5374 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001925/0.3652, allocations: 117.5 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3653, allocations: 5.344 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3653, allocations: 0 / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3653, allocations: 1.281 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.3654, allocations: 13.12 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3654, allocations: 5.359 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.3655, allocations: 5.312 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3655, allocations: 8.25 kB / 0.5375 GB, free: 8.754 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.0001125/0.3656, allocations: 140.3 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3656, allocations: 19.25 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.3657, allocations: 21.33 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3657, allocations: 1.281 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3657, allocations: 3.938 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3657, allocations: 3.938 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.3662, allocations: 408.7 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3662, allocations: 1.125 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.3662, allocations: 11.75 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3662, allocations: 1.156 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3662, allocations: 5.062 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3663, allocations: 1.094 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3663, allocations: 1.125 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3665, allocations: 213.5 kB / 0.5383 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.3666, allocations: 85.2 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3666, allocations: 9.031 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.3667, allocations: 2.5 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3667, allocations: 11.08 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3668, allocations: 3.25 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.367, allocations: 203 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.367, allocations: 1.094 kB / 0.5386 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3672, allocations: 21 kB / 0.5386 GB, free: 7.762 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.00109/0.3683, allocations: 472.7 kB / 0.5391 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3685, allocations: 58.38 kB / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3685, allocations: 0 / 0.5392 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.3686, allocations: 33.12 kB / 0.5392 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.369, allocations: 35.91 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.3695, allocations: 316.3 kB / 0.5395 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3699, allocations: 0.7173 MB / 0.5402 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3699, allocations: 15.31 kB / 0.5402 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3699, allocations: 4 kB / 0.5402 GB, free: 6.496 MB / 398.1 MB Notification: Performance of Templates: time 0.004204/0.3741, allocations: 2.125 MB / 0.5423 GB, free: 5.387 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches