Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 79.88 kB / 482.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3295, allocations: 62.43 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003089/0.3327, allocations: 1.741 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3343, allocations: 1.015 MB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.3344, allocations: 1.375 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.3348, allocations: 53.62 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.3351, allocations: 103.2 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3353, allocations: 78.92 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3356, allocations: 104.9 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3357, allocations: 10.88 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3358, allocations: 48.27 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3359, allocations: 37.36 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.336, allocations: 4.125 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.3361, allocations: 40.86 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.3362, allocations: 26.59 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.3363, allocations: 48.72 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3365, allocations: 136.4 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3365, allocations: 5.375 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3365, allocations: 0 / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3365, allocations: 0 / 0.5351 GB, free: 11.06 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.000659/0.3372, allocations: 445.5 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3373, allocations: 10.09 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.3373, allocations: 15.12 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.3377, allocations: 223.8 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3377, allocations: 6.109 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.3378, allocations: 5.906 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3379, allocations: 54.55 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.338, allocations: 0 / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.338, allocations: 9.188 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.338, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.3381, allocations: 23.36 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.3384, allocations: 291 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3386, allocations: 58.27 kB / 0.5362 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3387, allocations: 30.09 kB / 0.5362 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3387, allocations: 1.219 kB / 0.5362 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.3389, allocations: 69.02 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3389, allocations: 0 / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.3395, allocations: 184.2 kB / 0.5365 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3395, allocations: 52.47 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3398, allocations: 276.2 kB / 0.5368 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3399, allocations: 30.89 kB / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.3399, allocations: 110.6 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.34, allocations: 28.55 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.34, allocations: 19.44 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3401, allocations: 332.4 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.3402, allocations: 19.58 kB / 0.5373 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.3403, allocations: 42.73 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.3404, allocations: 62.98 kB / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3404, allocations: 0 / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.3406, allocations: 109 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3406, allocations: 5.156 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3406, allocations: 1.469 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3406, allocations: 1.344 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3408, allocations: 15.98 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3408, allocations: 5.219 kB / 0.5375 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.3408, allocations: 6.531 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3408, allocations: 3.062 kB / 0.5375 GB, free: 8.816 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.0001076/0.341, allocations: 133 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.341, allocations: 14.56 kB / 0.5377 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.341, allocations: 25.48 kB / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.341, allocations: 1.125 kB / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3411, allocations: 1.188 kB / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3411, allocations: 7.938 kB / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3415, allocations: 404.3 kB / 0.5381 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3415, allocations: 0 / 0.5381 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.3416, allocations: 15.77 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3416, allocations: 1.125 kB / 0.5381 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3416, allocations: 10.25 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3416, allocations: 384 / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3416, allocations: 1.031 kB / 0.5381 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.3418, allocations: 206.8 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3419, allocations: 96.06 kB / 0.5384 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.342, allocations: 10.05 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.3421, allocations: 2.281 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3421, allocations: 3.75 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3421, allocations: 6.609 kB / 0.5384 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3423, allocations: 210.8 kB / 0.5386 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3423, allocations: 0 / 0.5386 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.3426, allocations: 21.62 kB / 0.5386 GB, free: 7.82 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.001074/0.3437, allocations: 472.9 kB / 0.5391 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3439, allocations: 58.39 kB / 0.5392 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3439, allocations: 0 / 0.5392 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.344, allocations: 26.14 kB / 0.5392 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3443, allocations: 33.08 kB / 0.5392 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.3449, allocations: 316.4 kB / 0.5395 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3452, allocations: 0.7212 MB / 0.5402 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.3453, allocations: 18.7 kB / 0.5402 GB, free: 6.559 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3453, allocations: 0.9688 kB / 0.5402 GB, free: 6.559 MB / 398.1 MB Notification: Performance of Templates: time 0.004322/0.3496, allocations: 2.13 MB / 0.5423 GB, free: 5.449 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches