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.001118/0.001118, allocations: 116.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, 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.2155/0.2155, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 80.09 kB / 482.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003609/0.3393, allocations: 1.746 MB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3412, allocations: 1.039 MB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3414, allocations: 1.375 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3417, allocations: 99.11 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.3422, allocations: 128.3 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3425, allocations: 87.41 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3427, allocations: 116.8 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3428, allocations: 15.36 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.343, allocations: 60.47 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3431, allocations: 63.22 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3431, allocations: 4.375 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.3433, allocations: 62.64 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.3434, allocations: 33.92 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.3434, allocations: 41.78 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3437, allocations: 152.7 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3437, allocations: 0 / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3437, allocations: 0 / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3437, allocations: 0 / 0.5353 GB, free: 10.9 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.0006834/0.3444, allocations: 438.6 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3445, allocations: 12.5 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3446, allocations: 26.97 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.345, allocations: 222.5 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3451, allocations: 3.156 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3451, allocations: 10.72 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3453, allocations: 59.8 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3453, allocations: 1.375 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3453, allocations: 0 / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3454, allocations: 1.375 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.3454, allocations: 20.36 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.3459, allocations: 318.9 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.3461, allocations: 60.61 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3462, allocations: 22.61 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3462, allocations: 1.375 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3463, allocations: 70.48 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3464, allocations: 4 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007607/0.3471, allocations: 244.3 kB / 0.5368 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3472, allocations: 52.84 kB / 0.5368 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3474, allocations: 262.8 kB / 0.5371 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3475, allocations: 30.77 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.3475, allocations: 111.7 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3476, allocations: 32.83 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.3476, allocations: 30.28 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3478, allocations: 327 kB / 0.5376 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.3478, allocations: 35.77 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.3479, allocations: 43.45 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3481, allocations: 76.95 kB / 0.5377 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3481, allocations: 0 / 0.5377 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002295/0.3483, allocations: 126.9 kB / 0.5378 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3484, allocations: 8.656 kB / 0.5378 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3484, allocations: 1.062 kB / 0.5378 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3484, allocations: 5.078 kB / 0.5378 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.3485, allocations: 17.53 kB / 0.5379 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3485, allocations: 5 kB / 0.5379 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.3485, allocations: 14.2 kB / 0.5379 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3486, allocations: 3.406 kB / 0.5379 GB, free: 8.582 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.0001117/0.3487, allocations: 136.4 kB / 0.538 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3487, allocations: 15.22 kB / 0.538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3488, allocations: 20.91 kB / 0.5381 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3488, allocations: 1.031 kB / 0.5381 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3488, allocations: 3.984 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.3488, allocations: 92.11 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3489, allocations: 5.969 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.3489, allocations: 6.219 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.349, allocations: 7.266 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002558/0.3492, allocations: 210.4 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003409/0.3496, allocations: 296.4 kB / 0.5386 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.57e-05/0.3497, allocations: 39.42 kB / 0.5387 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.3499, allocations: 184.8 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3499, allocations: 1.125 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3514, allocations: 0.5501 MB / 0.5394 GB, free: 7.496 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007718/0.3522, allocations: 0.7188 MB / 0.5401 GB, free: 6.824 MB / 398.1 MB Notification: Performance of Templates: time 0.005454/0.3577, allocations: 2.141 MB / 0.5422 GB, free: 5.734 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