Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 212.9 kB / 19.4 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.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 76.09 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 62.44 MB / 0.5318 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003277/0.3373, allocations: 1.748 MB / 0.5335 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3391, allocations: 1.026 MB / 0.5345 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.3392, allocations: 5.375 kB / 0.5345 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.3395, allocations: 52.25 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3399, allocations: 96.41 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3401, allocations: 88.22 kB / 0.5347 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3403, allocations: 124 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.3404, allocations: 16.22 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3405, allocations: 57.72 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.3406, allocations: 49.7 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3406, allocations: 5.5 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.3408, allocations: 61.23 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.3409, allocations: 29.52 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.3409, allocations: 45.25 kB / 0.5351 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.3412, allocations: 145.1 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3412, allocations: 1.094 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3412, allocations: 3.984 kB / 0.5352 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3412, allocations: 0 / 0.5352 GB, free: 11.19 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000593/0.3418, allocations: 443.3 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3418, allocations: 8.938 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.3419, allocations: 18.62 kB / 0.5357 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3422, allocations: 224.5 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3422, allocations: 2.562 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3422, allocations: 11.81 kB / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3424, allocations: 69.84 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3425, allocations: 0 / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3425, allocations: 9.047 kB / 0.536 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3425, allocations: 0.9688 kB / 0.536 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3426, allocations: 43.81 kB / 0.536 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.343, allocations: 322.9 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.3434, allocations: 85.2 kB / 0.5364 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3435, allocations: 35.38 kB / 0.5364 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3435, allocations: 9.125 kB / 0.5364 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3437, allocations: 75.66 kB / 0.5365 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3437, allocations: 0 / 0.5365 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008605/0.3445, allocations: 302.2 kB / 0.5368 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3446, allocations: 56.41 kB / 0.5368 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3448, allocations: 194.9 kB / 0.537 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3448, allocations: 36.08 kB / 0.5371 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.3449, allocations: 105.6 kB / 0.5372 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.3449, allocations: 39.02 kB / 0.5372 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.345, allocations: 35.77 kB / 0.5372 GB, free: 9.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3451, allocations: 326.6 kB / 0.5375 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.3452, allocations: 38.48 kB / 0.5376 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.3453, allocations: 60.38 kB / 0.5376 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3455, allocations: 102.7 kB / 0.5377 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3455, allocations: 0 / 0.5377 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002932/0.3458, allocations: 150.3 kB / 0.5379 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3458, allocations: 5.344 kB / 0.5379 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3458, allocations: 3.938 kB / 0.5379 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3458, allocations: 1.562 kB / 0.5379 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.3459, allocations: 28.48 kB / 0.5379 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3459, allocations: 9.156 kB / 0.5379 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.346, allocations: 2.469 kB / 0.5379 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.346, allocations: 4.406 kB / 0.5379 GB, free: 8.801 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 (15): * Single equations (assignments): 15 * 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.0001008/0.3461, allocations: 131.9 kB / 0.5381 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3461, allocations: 18.06 kB / 0.5381 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3462, allocations: 21.11 kB / 0.5381 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3462, allocations: 1.188 kB / 0.5381 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3462, allocations: 3.938 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3462, allocations: 1 kB / 0.5381 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.3468, allocations: 492.4 kB / 0.5386 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3468, allocations: 1.188 kB / 0.5386 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.3469, allocations: 18.94 kB / 0.5386 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3469, allocations: 1.156 kB / 0.5386 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3469, allocations: 6.297 kB / 0.5386 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3469, allocations: 6.25 kB / 0.5386 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3469, allocations: 0 / 0.5386 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3472, allocations: 257 kB / 0.5389 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.3473, allocations: 89.27 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.3473, allocations: 6.375 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.3474, allocations: 2.469 kB / 0.5389 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3475, allocations: 10.2 kB / 0.539 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3475, allocations: 12.89 kB / 0.539 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3476, allocations: 151.6 kB / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3476, allocations: 0 / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3479, allocations: 35.05 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001237/0.3492, allocations: 0.5126 MB / 0.5396 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3495, allocations: 101.2 kB / 0.5397 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3495, allocations: 4.062 kB / 0.5397 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3496, allocations: 49.77 kB / 0.5398 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3499, allocations: 43.08 kB / 0.5398 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.3505, allocations: 295.6 kB / 0.5401 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3508, allocations: 0.7122 MB / 0.5408 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3508, allocations: 24.23 kB / 0.5408 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.764e-06/0.3508, allocations: 0 / 0.5408 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004767/0.3556, allocations: 2.416 MB / 0.5432 GB, free: 5.184 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches