Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 118.2 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 76.16 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3621, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002581/0.3647, allocations: 1.601 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.3656, allocations: 0.5243 MB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.3657, allocations: 3.938 kB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.3659, allocations: 33.17 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.3661, allocations: 67.55 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.3664, allocations: 98.84 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3665, allocations: 61.97 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.3666, allocations: 17.47 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.3667, allocations: 25.48 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.3667, allocations: 17.38 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.3668, allocations: 2.75 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.3668, allocations: 36.61 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.3669, allocations: 16.09 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.3669, allocations: 23.88 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3671, allocations: 79.23 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3671, allocations: 1.375 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3671, allocations: 4 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3671, allocations: 0 / 0.5335 GB, free: 11.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004045/0.3675, allocations: 381.5 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3675, allocations: 9.625 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3676, allocations: 8.969 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3677, allocations: 194.7 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3678, allocations: 5.75 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3678, allocations: 1.75 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3679, allocations: 60.73 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3679, allocations: 0 / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3679, allocations: 0 / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.368, allocations: 1.375 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.368, allocations: 20.36 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.3684, allocations: 272.2 kB / 0.5345 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3685, allocations: 51 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.3686, allocations: 15.81 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3686, allocations: 0 / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3686, allocations: 35.94 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3687, allocations: 0 / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005158/0.3692, allocations: 149.8 kB / 0.5347 GB, free: 10.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3692, allocations: 56.72 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3694, allocations: 147.1 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3694, allocations: 29.7 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.3694, allocations: 100.1 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3695, allocations: 13.17 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.3695, allocations: 19.22 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.3696, allocations: 324.1 kB / 0.5354 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.3697, allocations: 22.98 kB / 0.5354 GB, free: 9.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.3697, allocations: 14.98 kB / 0.5354 GB, free: 9.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3698, allocations: 52.02 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3699, allocations: 0 / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001736/0.37, allocations: 76.2 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3701, allocations: 6 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3701, allocations: 4 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3701, allocations: 0 / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.3702, allocations: 13.8 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3702, allocations: 1.156 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.3702, allocations: 6.469 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3702, allocations: 2.875 kB / 0.5356 GB, free: 9.699 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 (5): * Single equations (assignments): 5 * 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 7.386e-05/0.3703, allocations: 122 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3703, allocations: 6.781 kB / 0.5357 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3706, allocations: 97.39 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3706, allocations: 1.031 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3706, allocations: 0 / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3706, allocations: 1.094 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.371, allocations: 362.8 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.371, allocations: 0 / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.3711, allocations: 9.562 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3711, allocations: 9.172 kB / 0.5361 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3711, allocations: 0 / 0.5361 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3711, allocations: 5.188 kB / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3711, allocations: 0 / 0.5361 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.3713, allocations: 171.8 kB / 0.5363 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3713, allocations: 79.23 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3714, allocations: 5.047 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.3714, allocations: 14.16 kB / 0.5364 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3715, allocations: 2.281 kB / 0.5364 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3715, allocations: 6.125 kB / 0.5364 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.646e-05/0.3716, allocations: 128.4 kB / 0.5365 GB, free: 8.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3716, allocations: 0 / 0.5365 GB, free: 8.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3718, allocations: 18.25 kB / 0.5365 GB, free: 8.742 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 (5): * Single equations (assignments): 5 * 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.0008434/0.3727, allocations: 396.4 kB / 0.5369 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3729, allocations: 51.11 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3729, allocations: 1.094 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.373, allocations: 26.89 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3733, allocations: 30.25 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.3737, allocations: 164.3 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.3739, allocations: 0.698 MB / 0.5379 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.13e-05/0.3739, allocations: 9.5 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.374, allocations: 12.84 kB / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.374, allocations: 0 / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of Templates: time 0.003589/0.3776, allocations: 1.115 MB / 0.539 GB, free: 7.039 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches