Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.9 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.2419/0.2419, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 71.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4233, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003105/0.4264, allocations: 1.621 MB / 0.5326 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.4282, allocations: 1.169 MB / 0.5337 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.4283, allocations: 0 / 0.5337 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.4285, allocations: 29.2 kB / 0.5338 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.4288, allocations: 86.45 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.4291, allocations: 113.1 kB / 0.534 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.4293, allocations: 83.38 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4294, allocations: 28.36 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.4295, allocations: 22.92 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.4296, allocations: 40.2 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4297, allocations: 5.5 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.4299, allocations: 100.1 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.4299, allocations: 17.42 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.43, allocations: 33.3 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4302, allocations: 151.4 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4302, allocations: 1.375 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4302, allocations: 0 / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4303, allocations: 4 kB / 0.5344 GB, free: 11.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006038/0.4309, allocations: 423.4 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4309, allocations: 9.625 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.431, allocations: 9.016 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4313, allocations: 193.9 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4313, allocations: 3.125 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4313, allocations: 3.125 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4315, allocations: 94.62 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4315, allocations: 5.328 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4315, allocations: 0 / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4315, allocations: 1.375 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4317, allocations: 40.83 kB / 0.5352 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.4322, allocations: 313.6 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.4323, allocations: 56.97 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.4324, allocations: 22.84 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.4324, allocations: 1.062 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4325, allocations: 31.69 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4325, allocations: 1.031 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007458/0.4332, allocations: 198.3 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.4333, allocations: 82.25 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.4335, allocations: 162.8 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4335, allocations: 30.77 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.4336, allocations: 95.77 kB / 0.5361 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4336, allocations: 26.33 kB / 0.5361 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.4336, allocations: 25.59 kB / 0.5362 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4338, allocations: 329 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.4339, allocations: 27.81 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.434, allocations: 40.86 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.4342, allocations: 73.16 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4342, allocations: 384 / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.4344, allocations: 107.5 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4345, allocations: 5.688 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4345, allocations: 0 / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4345, allocations: 1.188 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4346, allocations: 26.11 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4346, allocations: 3.938 kB / 0.5368 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.4347, allocations: 7.547 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4347, allocations: 2.438 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001032/0.4348, allocations: 123.4 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.4349, allocations: 12.5 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.4352, allocations: 131.9 kB / 0.537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4352, allocations: 5.125 kB / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4352, allocations: 3.938 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4352, allocations: 1.094 kB / 0.537 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.4357, allocations: 396.1 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4358, allocations: 4 kB / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4358, allocations: 26.3 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4359, allocations: 3.938 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4359, allocations: 5.281 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4359, allocations: 1.188 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4359, allocations: 0 / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.4362, allocations: 207.6 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4362, allocations: 88 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4363, allocations: 0 / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.4364, allocations: 12.11 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.4364, allocations: 6.281 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.4364, allocations: 2.125 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4365, allocations: 119.8 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4365, allocations: 0 / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.4368, allocations: 43.17 kB / 0.5379 GB, free: 7.977 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001185/0.438, allocations: 498 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.4383, allocations: 72.38 kB / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4383, allocations: 0 / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4384, allocations: 39.92 kB / 0.5385 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.4388, allocations: 26.36 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.4395, allocations: 210.6 kB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.4401, allocations: 0.6932 MB / 0.5394 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.4403, allocations: 29.25 kB / 0.5394 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.4403, allocations: 19.56 kB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4403, allocations: 0 / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Templates: time 0.005992/0.4463, allocations: 1.871 MB / 0.5413 GB, free: 5.781 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches