Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00176/0.00176, allocations: 115.5 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.002085/0.002085, allocations: 210.8 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, 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.2278/0.2278, allocations: 46.12 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.88 kB / 482.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 62.45 MB / 0.5318 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003299/0.3443, allocations: 1.732 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3461, allocations: 1.028 MB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.3461, allocations: 1.156 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.3464, allocations: 40.5 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.3467, allocations: 94.66 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3469, allocations: 79.41 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3471, allocations: 105.8 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3472, allocations: 12.12 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.3473, allocations: 48.27 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.3474, allocations: 30.8 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3474, allocations: 4.125 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.971e-05/0.3475, allocations: 39.48 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.3476, allocations: 22.78 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.3476, allocations: 39.98 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3478, allocations: 122.6 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3478, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3478, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3478, allocations: 0 / 0.5351 GB, free: 11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006105/0.3485, allocations: 428.8 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3485, allocations: 9.625 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3485, allocations: 10.39 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3488, allocations: 221.3 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3489, allocations: 1.75 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3489, allocations: 5.5 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.349, allocations: 61.97 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3491, allocations: 1.375 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3491, allocations: 4 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3491, allocations: 1.375 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.3491, allocations: 17.61 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3496, allocations: 282.9 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3497, allocations: 60.48 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.3498, allocations: 20.42 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3498, allocations: 0.875 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.35, allocations: 73.5 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.35, allocations: 0 / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.3505, allocations: 174.3 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3506, allocations: 52.5 kB / 0.5365 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3508, allocations: 201.2 kB / 0.5367 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3508, allocations: 34.91 kB / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3509, allocations: 100.1 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3509, allocations: 28.41 kB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.351, allocations: 24.69 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3511, allocations: 325.6 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.3512, allocations: 23.36 kB / 0.5372 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.3513, allocations: 43.73 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3514, allocations: 55.2 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3514, allocations: 3.938 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3516, allocations: 103.9 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3516, allocations: 4.375 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3516, allocations: 1.125 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3516, allocations: 1.219 kB / 0.5374 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.3517, allocations: 20.61 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3517, allocations: 1.156 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.3518, allocations: 6.375 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3518, allocations: 3.406 kB / 0.5374 GB, free: 8.824 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 (10): * Single equations (assignments): 10 * 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.0001321/0.3519, allocations: 131.9 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3519, allocations: 13.25 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.352, allocations: 14 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.352, allocations: 5.203 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.352, allocations: 1.156 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.352, allocations: 7.938 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.3525, allocations: 390.9 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3525, allocations: 0 / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.3526, allocations: 8.031 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3526, allocations: 1.125 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3526, allocations: 13.17 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3526, allocations: 1.188 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3526, allocations: 1.25 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3528, allocations: 204.6 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.3529, allocations: 87.33 kB / 0.5383 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3529, allocations: 10.75 kB / 0.5383 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.353, allocations: 6.266 kB / 0.5383 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.353, allocations: 7.469 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3531, allocations: 2.312 kB / 0.5383 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3532, allocations: 157 kB / 0.5384 GB, free: 7.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3532, allocations: 0 / 0.5384 GB, free: 7.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3535, allocations: 33.58 kB / 0.5385 GB, free: 7.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001708/0.3552, allocations: 460.5 kB / 0.5389 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.3554, allocations: 51.98 kB / 0.539 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3554, allocations: 0 / 0.539 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.3554, allocations: 24.77 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3558, allocations: 43.64 kB / 0.539 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.3563, allocations: 230.2 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3567, allocations: 0.7064 MB / 0.5399 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.3567, allocations: 18.61 kB / 0.54 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.3568, allocations: 19.84 kB / 0.54 GB, free: 6.645 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3568, allocations: 0 / 0.54 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Templates: time 0.005287/0.3621, allocations: 1.74 MB / 0.5417 GB, free: 5.762 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches