Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 115.7 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.001172/0.001172, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 76.09 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3673, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003092/0.3705, allocations: 1.622 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3715, allocations: 0.5443 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.3716, allocations: 5.375 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3719, allocations: 74.02 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.3723, allocations: 100.7 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3726, allocations: 119.2 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3728, allocations: 78.25 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3729, allocations: 21.33 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.373, allocations: 31.45 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3731, allocations: 47.95 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3731, allocations: 2.812 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.3732, allocations: 40.67 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3733, allocations: 24.44 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.3734, allocations: 36.48 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3736, allocations: 105.7 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3736, allocations: 0 / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3736, allocations: 0 / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3736, allocations: 0 / 0.5344 GB, free: 11.52 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.0005375/0.3741, allocations: 417.2 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3742, allocations: 9.625 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.3742, allocations: 12.56 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3745, allocations: 204.3 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3745, allocations: 1.5 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3745, allocations: 10.66 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3747, allocations: 51.28 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3747, allocations: 0 / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3747, allocations: 1.156 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3747, allocations: 1.125 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3748, allocations: 39.11 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3753, allocations: 299.3 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3755, allocations: 48.25 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3755, allocations: 21.03 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3756, allocations: 5.156 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3756, allocations: 31.78 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3756, allocations: 0 / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009189/0.3765, allocations: 241.5 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3766, allocations: 56.78 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3768, allocations: 203.9 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3768, allocations: 29.64 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.3769, allocations: 105.6 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3769, allocations: 34.3 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.377, allocations: 20.59 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3771, allocations: 326.9 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.3772, allocations: 27.11 kB / 0.5365 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.3773, allocations: 29.66 kB / 0.5366 GB, free: 9.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3774, allocations: 77.94 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3774, allocations: 4 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.3777, allocations: 109 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3777, allocations: 7 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3777, allocations: 1 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3777, allocations: 0 / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3778, allocations: 18.17 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3779, allocations: 0.9062 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.3779, allocations: 7.25 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3779, allocations: 6.188 kB / 0.5368 GB, free: 9.367 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.0001055/0.378, allocations: 131.5 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3781, allocations: 13.56 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.3784, allocations: 133.8 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3784, allocations: 1.031 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3784, allocations: 0 / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3784, allocations: 3.938 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.379, allocations: 423.7 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.379, allocations: 0 / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.3791, allocations: 22.2 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3791, allocations: 5.438 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3791, allocations: 1.188 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3791, allocations: 1.297 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3791, allocations: 3.984 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3794, allocations: 216.6 kB / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3794, allocations: 88.33 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3794, allocations: 1.094 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.3795, allocations: 7.281 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.3796, allocations: 8.531 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3796, allocations: 5.25 kB / 0.5378 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3797, allocations: 155 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3797, allocations: 3.938 kB / 0.538 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000259/0.38, allocations: 18.56 kB / 0.538 GB, free: 8.309 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.001133/0.3811, allocations: 448.1 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3814, allocations: 71.33 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3814, allocations: 0 / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.899e-05/0.3815, allocations: 44.88 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3819, allocations: 21.66 kB / 0.5385 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.3824, allocations: 289.9 kB / 0.5388 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3828, allocations: 0.7112 MB / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.3828, allocations: 19 kB / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.224e-06/0.3828, allocations: 0 / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of Templates: time 0.003812/0.3866, allocations: 1.807 MB / 0.5413 GB, free: 6.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches