Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 122.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 80.28 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3305, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003228/0.3338, allocations: 1.921 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3356, allocations: 1.124 MB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3357, allocations: 2.75 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.3361, allocations: 226.6 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.3366, allocations: 213.6 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3368, allocations: 120.5 kB / 0.5353 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.3371, allocations: 258.5 kB / 0.5355 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3373, allocations: 32.8 kB / 0.5355 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3375, allocations: 125.1 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.3377, allocations: 157.1 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3377, allocations: 8.906 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3379, allocations: 59.2 kB / 0.5359 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.338, allocations: 65.16 kB / 0.5359 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.3381, allocations: 95.95 kB / 0.536 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3384, allocations: 237.7 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3384, allocations: 1.062 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3384, allocations: 0 / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3384, allocations: 7.875 kB / 0.5363 GB, free: 10.3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007438/0.3392, allocations: 0.5567 MB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3392, allocations: 7.75 kB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.3393, allocations: 26.09 kB / 0.5368 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3397, allocations: 295.8 kB / 0.5371 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3397, allocations: 4.094 kB / 0.5371 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3397, allocations: 12 kB / 0.5371 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.34, allocations: 107.7 kB / 0.5372 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.34, allocations: 5.062 kB / 0.5373 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.34, allocations: 5.141 kB / 0.5373 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.34, allocations: 1.188 kB / 0.5373 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3402, allocations: 49.44 kB / 0.5373 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.3407, allocations: 482.8 kB / 0.5378 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.3411, allocations: 122 kB / 0.5379 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3412, allocations: 45.23 kB / 0.5379 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3412, allocations: 6.906 kB / 0.5379 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3415, allocations: 123 kB / 0.538 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3415, allocations: 4 kB / 0.5381 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001256/0.3427, allocations: 0.4907 MB / 0.5385 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3428, allocations: 88.31 kB / 0.5386 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.3432, allocations: 444 kB / 0.539 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3433, allocations: 32.45 kB / 0.5391 GB, free: 8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3434, allocations: 163.5 kB / 0.5392 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.3434, allocations: 77.55 kB / 0.5393 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.3435, allocations: 42.17 kB / 0.5393 GB, free: 7.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3437, allocations: 344.3 kB / 0.5397 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3438, allocations: 57.19 kB / 0.5397 GB, free: 7.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.344, allocations: 100.3 kB / 0.5398 GB, free: 7.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3442, allocations: 160 kB / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3442, allocations: 0 / 0.54 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003629/0.3446, allocations: 228.3 kB / 0.5402 GB, free: 7.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3446, allocations: 16.58 kB / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3446, allocations: 1.375 kB / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3447, allocations: 1.781 kB / 0.5402 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.3448, allocations: 42.58 kB / 0.5402 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3448, allocations: 2.312 kB / 0.5403 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.3449, allocations: 7.438 kB / 0.5403 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3449, allocations: 10.8 kB / 0.5403 GB, free: 7.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001526/0.3451, allocations: 173.1 kB / 0.5404 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.3451, allocations: 39.03 kB / 0.5405 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.3452, allocations: 39.84 kB / 0.5405 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3452, allocations: 0 / 0.5405 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3452, allocations: 4.5 kB / 0.5405 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.3453, allocations: 108.9 kB / 0.5406 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3454, allocations: 11.28 kB / 0.5406 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3454, allocations: 6.938 kB / 0.5406 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3455, allocations: 16.28 kB / 0.5407 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004469/0.3459, allocations: 384 kB / 0.541 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004669/0.3464, allocations: 480.1 kB / 0.5415 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001376/0.3466, allocations: 77.77 kB / 0.5415 GB, free: 6.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.3469, allocations: 330 kB / 0.5419 GB, free: 5.859 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.3469, allocations: 0 / 0.5419 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3487, allocations: 0.6138 MB / 0.5425 GB, free: 5.578 MB / 398.1 MB Notification: Performance of SimCode: time 0.001079/0.3498, allocations: 0.9445 MB / 0.5434 GB, free: 4.793 MB / 398.1 MB Notification: Performance of Templates: time 0.007158/0.3569, allocations: 3.373 MB / 0.5467 GB, free: 2.262 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches