Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3508, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003265/0.3541, allocations: 1.615 MB / 0.5326 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3552, allocations: 0.5359 MB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.3553, allocations: 0.8438 kB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.3557, allocations: 81.95 kB / 0.5332 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.3561, allocations: 102 kB / 0.5333 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3564, allocations: 98.75 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3566, allocations: 84.91 kB / 0.5335 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3567, allocations: 16.11 kB / 0.5335 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.3568, allocations: 32.03 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3569, allocations: 63.41 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.357, allocations: 3.562 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3571, allocations: 45.11 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.3571, allocations: 23.88 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.3572, allocations: 29.5 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3574, allocations: 112.5 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3574, allocations: 1.219 kB / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3574, allocations: 0 / 0.5338 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3574, allocations: 0 / 0.5338 GB, free: 11.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004824/0.3579, allocations: 413.3 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.358, allocations: 14.19 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.358, allocations: 9.438 kB / 0.5342 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.3582, allocations: 204.8 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3582, allocations: 1.875 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.3582, allocations: 2.969 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3584, allocations: 62.17 kB / 0.5345 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3584, allocations: 3.906 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3584, allocations: 1.5 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3584, allocations: 0 / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.679e-05/0.3585, allocations: 26.98 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.3589, allocations: 292.3 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.359, allocations: 49.56 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.3591, allocations: 17.11 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3591, allocations: 1.375 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.3592, allocations: 38.64 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3592, allocations: 0 / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008366/0.36, allocations: 230.9 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3601, allocations: 55.41 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3603, allocations: 211.7 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3603, allocations: 25.7 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3604, allocations: 105.8 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3604, allocations: 30.73 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3604, allocations: 20.47 kB / 0.5355 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3606, allocations: 321.9 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.3607, allocations: 26.11 kB / 0.5358 GB, free: 9.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.3607, allocations: 30.39 kB / 0.5359 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3609, allocations: 60.17 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3609, allocations: 0 / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002162/0.3611, allocations: 103.6 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3612, allocations: 5.531 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3612, allocations: 0 / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3612, allocations: 5 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.3613, allocations: 17.61 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3613, allocations: 5.094 kB / 0.5361 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3614, allocations: 7.219 kB / 0.5361 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3614, allocations: 6.578 kB / 0.5361 GB, free: 9.617 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.0001076/0.3615, allocations: 123.5 kB / 0.5362 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.3615, allocations: 17.19 kB / 0.5362 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3618, allocations: 124.1 kB / 0.5363 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3618, allocations: 1.844 kB / 0.5363 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3618, allocations: 0 / 0.5363 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3618, allocations: 4.781 kB / 0.5363 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.3624, allocations: 411.2 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3624, allocations: 0 / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.3624, allocations: 17.34 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3625, allocations: 9.062 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3625, allocations: 6.266 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3625, allocations: 1.156 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3625, allocations: 0 / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3627, allocations: 204.3 kB / 0.537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.3628, allocations: 87.95 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3628, allocations: 9.031 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.3629, allocations: 3.312 kB / 0.5371 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3629, allocations: 7.359 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3629, allocations: 3.25 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3631, allocations: 171.4 kB / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3631, allocations: 0 / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3634, allocations: 22.19 kB / 0.5372 GB, free: 8.566 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: 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.001022/0.3644, allocations: 464.3 kB / 0.5377 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3646, allocations: 61.66 kB / 0.5377 GB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3646, allocations: 4 kB / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.3647, allocations: 38.19 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3651, allocations: 12.5 kB / 0.5378 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.3656, allocations: 262.7 kB / 0.5381 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3659, allocations: 0.7065 MB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.731e-05/0.3659, allocations: 19.92 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3659, allocations: 13.81 kB / 0.5388 GB, free: 7.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.366, allocations: 0 / 0.5388 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Templates: time 0.00406/0.37, allocations: 1.365 MB / 0.5401 GB, free: 6.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches