Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, 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.2137/0.2137, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 83.88 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3467, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003709/0.3505, allocations: 1.743 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3528, allocations: 1.013 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.353, allocations: 1.375 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.3537, allocations: 42.77 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3542, allocations: 99.03 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3545, allocations: 74.89 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3548, allocations: 109.4 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3549, allocations: 7.094 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.355, allocations: 42.81 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.3551, allocations: 38.84 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3551, allocations: 7 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3553, allocations: 39.73 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.3553, allocations: 23.56 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3554, allocations: 31.19 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3557, allocations: 126.5 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3557, allocations: 1.188 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3557, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3557, allocations: 0 / 0.5344 GB, free: 11.03 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.0005986/0.3563, allocations: 420.5 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3564, allocations: 13.22 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.3564, allocations: 14.23 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.3567, allocations: 216.9 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3567, allocations: 2.719 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3568, allocations: 10.52 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3569, allocations: 56.89 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.357, allocations: 1.156 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.357, allocations: 7.922 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.357, allocations: 1 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3571, allocations: 27.2 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.3575, allocations: 282.9 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3577, allocations: 57.19 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.3578, allocations: 21.88 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.3578, allocations: 1.188 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.358, allocations: 72.55 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.358, allocations: 1.125 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006049/0.3586, allocations: 177.9 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3586, allocations: 52.75 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3589, allocations: 196.4 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3589, allocations: 27.08 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.359, allocations: 104.2 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.359, allocations: 27.91 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3591, allocations: 24.59 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3592, allocations: 326.9 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.3593, allocations: 18.98 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.3593, allocations: 43.27 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3595, allocations: 58.77 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3595, allocations: 0 / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.3597, allocations: 107.6 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3597, allocations: 5.344 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3597, allocations: 1.406 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3597, allocations: 1.125 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3598, allocations: 21.17 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3599, allocations: 0 / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.3599, allocations: 5.969 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3599, allocations: 7 kB / 0.5367 GB, free: 8.855 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.0001154/0.36, allocations: 127.1 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3601, allocations: 17.23 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3601, allocations: 15.59 kB / 0.5368 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3601, allocations: 1.156 kB / 0.5368 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3602, allocations: 0 / 0.5368 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3602, allocations: 3.938 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3607, allocations: 403.1 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3607, allocations: 192 / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.3607, allocations: 7.75 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3607, allocations: 5.031 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3607, allocations: 6.219 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3607, allocations: 1.5 kB / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3607, allocations: 0 / 0.5372 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.361, allocations: 208.4 kB / 0.5374 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.3611, allocations: 88.27 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3611, allocations: 14.34 kB / 0.5375 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3612, allocations: 2.062 kB / 0.5375 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.3613, allocations: 7.234 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3613, allocations: 3.344 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3614, allocations: 152.4 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 0 / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3617, allocations: 24.97 kB / 0.5377 GB, free: 7.887 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.001099/0.3628, allocations: 452.3 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.363, allocations: 66.61 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3631, allocations: 4.062 kB / 0.5382 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.3631, allocations: 29.39 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3635, allocations: 27.55 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.364, allocations: 234.8 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3644, allocations: 0.7022 MB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.3644, allocations: 26.72 kB / 0.5392 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.3645, allocations: 15.25 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3645, allocations: 1.25 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.005463/0.37, allocations: 1.734 MB / 0.5409 GB, free: 5.801 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches