Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 114.8 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 208 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 76.09 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3314, allocations: 62.43 MB / 0.5318 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003003/0.3345, allocations: 1.76 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3361, allocations: 1.026 MB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.3362, allocations: 1.156 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3365, allocations: 107 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.3369, allocations: 129.5 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3371, allocations: 82.91 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3373, allocations: 120.5 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3374, allocations: 23.84 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.3375, allocations: 52.38 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3376, allocations: 63.84 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3376, allocations: 4.688 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3378, allocations: 63.19 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.3379, allocations: 32.62 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.3379, allocations: 42.66 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3382, allocations: 144.2 kB / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3382, allocations: 0 / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3382, allocations: 1.375 kB / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3382, allocations: 0 / 0.5353 GB, free: 10.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005526/0.3388, allocations: 459.4 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3388, allocations: 12.23 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3389, allocations: 15.72 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.3391, allocations: 223.1 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3392, allocations: 9.75 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3392, allocations: 10.83 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3393, allocations: 60.78 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3394, allocations: 0 / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3394, allocations: 1.375 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3394, allocations: 1.375 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.3395, allocations: 24.36 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.3398, allocations: 306.1 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3401, allocations: 65.86 kB / 0.5364 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.3401, allocations: 18.55 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3402, allocations: 1.219 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3403, allocations: 70.44 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.3403, allocations: 0 / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007645/0.3411, allocations: 264.7 kB / 0.5368 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.3411, allocations: 60.25 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3414, allocations: 251.2 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3414, allocations: 30.8 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3415, allocations: 111.3 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3415, allocations: 36.91 kB / 0.5372 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3416, allocations: 26.75 kB / 0.5373 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3417, allocations: 330.6 kB / 0.5376 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.3418, allocations: 31.61 kB / 0.5376 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.3419, allocations: 46.64 kB / 0.5377 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.342, allocations: 80.86 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.342, allocations: 0 / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002387/0.3423, allocations: 126.8 kB / 0.5379 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3423, allocations: 9.719 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3423, allocations: 5.016 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3423, allocations: 1.031 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.3424, allocations: 24.56 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3424, allocations: 6.094 kB / 0.5379 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3425, allocations: 9.547 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3425, allocations: 3.562 kB / 0.5379 GB, free: 8.547 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 (13): * Single equations (assignments): 13 * 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.0001054/0.3426, allocations: 132.4 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3427, allocations: 18.66 kB / 0.5381 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.3427, allocations: 21.78 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3427, allocations: 3.984 kB / 0.5381 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3427, allocations: 1.094 kB / 0.5381 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3428, allocations: 92.02 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3428, allocations: 6.531 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.3429, allocations: 1.719 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3429, allocations: 12.08 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002521/0.3432, allocations: 201.5 kB / 0.5384 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002976/0.3435, allocations: 304.6 kB / 0.5387 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.001e-05/0.3436, allocations: 39.55 kB / 0.5387 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3437, allocations: 185.3 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3438, allocations: 0 / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3453, allocations: 0.5425 MB / 0.5394 GB, free: 7.465 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006649/0.3459, allocations: 0.7262 MB / 0.5401 GB, free: 6.785 MB / 398.1 MB Notification: Performance of Templates: time 0.00487/0.3508, allocations: 2.098 MB / 0.5422 GB, free: 5.73 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches