Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 117 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.001146/0.001146, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, 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.209/0.209, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 83.81 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003098/0.3384, allocations: 1.693 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3402, allocations: 1.003 MB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.3403, allocations: 0 / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.3407, allocations: 54.97 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.341, allocations: 102.1 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3413, allocations: 69.97 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3414, allocations: 99.38 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.3415, allocations: 8.094 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3416, allocations: 40.27 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.3417, allocations: 25.48 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3417, allocations: 6.75 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.3418, allocations: 40.59 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3419, allocations: 30.8 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.342, allocations: 41.3 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3422, allocations: 123.4 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3422, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3423, allocations: 1.375 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.3423, allocations: 0 / 0.535 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006036/0.3429, allocations: 432.3 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3429, allocations: 12.25 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.343, allocations: 15.66 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.3433, allocations: 224.1 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3433, allocations: 4.359 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3433, allocations: 6.875 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3435, allocations: 51.3 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3435, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3435, allocations: 3.984 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3435, allocations: 1.375 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.3436, allocations: 16.25 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.3438, allocations: 195.4 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.344, allocations: 59.11 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.3441, allocations: 21.05 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3441, allocations: 1.375 kB / 0.536 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3443, allocations: 67.77 kB / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.3443, allocations: 0 / 0.536 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000288/0.3446, allocations: 105.5 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3446, allocations: 52.78 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.3449, allocations: 267 kB / 0.5364 GB, free: 9.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.345, allocations: 29.7 kB / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.345, allocations: 111.6 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.3451, allocations: 18.09 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3451, allocations: 19.36 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3452, allocations: 328.1 kB / 0.5369 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.3453, allocations: 19.33 kB / 0.5369 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.3454, allocations: 31.12 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.3455, allocations: 47.77 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3455, allocations: 4 kB / 0.537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.3457, allocations: 89.5 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3457, allocations: 5.031 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3457, allocations: 1.406 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3457, allocations: 0 / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.3458, allocations: 17.08 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3458, allocations: 1.125 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.3459, allocations: 6.531 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3459, allocations: 2.375 kB / 0.5371 GB, free: 9.039 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 (7): * Single equations (assignments): 7 * 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.0001071/0.346, allocations: 140.2 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.346, allocations: 10.44 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.3461, allocations: 20.8 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3461, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3461, allocations: 1.25 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3461, allocations: 0 / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3463, allocations: 202.8 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3463, allocations: 5.062 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.3463, allocations: 3.469 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3463, allocations: 0 / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3463, allocations: 12.95 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3463, allocations: 1.312 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3463, allocations: 0 / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3465, allocations: 114.8 kB / 0.5376 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.3466, allocations: 96.22 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3466, allocations: 1.156 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.3467, allocations: 2.156 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3467, allocations: 6.469 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3467, allocations: 5.734 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.3469, allocations: 199.1 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3469, allocations: 0 / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3471, allocations: 21.78 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009338/0.3481, allocations: 393.8 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3483, allocations: 51.75 kB / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3483, allocations: 4.062 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.3484, allocations: 19.95 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3487, allocations: 42.56 kB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.3492, allocations: 294.4 kB / 0.5387 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3495, allocations: 0.7147 MB / 0.5394 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3496, allocations: 18.38 kB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3496, allocations: 4 kB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Templates: time 0.003841/0.3534, allocations: 1.892 MB / 0.5413 GB, free: 6.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches