Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.9 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.2363/0.2363, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4172, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003442/0.4207, allocations: 1.627 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.4219, allocations: 0.5582 MB / 0.5331 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.422, allocations: 5.75 kB / 0.5331 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.4228, allocations: 452.6 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000593/0.4234, allocations: 289 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.4239, allocations: 175.7 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.4243, allocations: 172.3 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4244, allocations: 12.59 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4246, allocations: 110.4 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.4248, allocations: 211 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4248, allocations: 3.562 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.4249, allocations: 35.72 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4251, allocations: 83.44 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.4252, allocations: 97.94 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.4255, allocations: 260.3 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4255, allocations: 0 / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4255, allocations: 4 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4255, allocations: 0 / 0.535 GB, free: 10.91 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.0007622/0.4263, allocations: 0.6349 MB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4263, allocations: 9.031 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.4264, allocations: 41.97 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4267, allocations: 307.8 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.4267, allocations: 1.312 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.4268, allocations: 1.5 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.4269, allocations: 64.98 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.427, allocations: 0 / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.427, allocations: 0 / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.427, allocations: 1.375 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4271, allocations: 32.41 kB / 0.536 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.4277, allocations: 397.3 kB / 0.5364 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4278, allocations: 47.06 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.4279, allocations: 28.42 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.428, allocations: 0 / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.428, allocations: 31.5 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.428, allocations: 1.031 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003782/0.4284, allocations: 136.9 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4284, allocations: 52.56 kB / 0.5367 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.4293, allocations: 0.8641 MB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4294, allocations: 29.64 kB / 0.5376 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4295, allocations: 212.1 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4296, allocations: 4.812 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.4296, allocations: 13.91 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4298, allocations: 371.6 kB / 0.5381 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.4299, allocations: 17.92 kB / 0.5381 GB, free: 8.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.4299, allocations: 19.58 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4301, allocations: 46.44 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4301, allocations: 1.344 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.4303, allocations: 111.5 kB / 0.5383 GB, free: 8.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4303, allocations: 9.688 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4303, allocations: 0 / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4304, allocations: 3.984 kB / 0.5383 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.4305, allocations: 11.06 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4305, allocations: 0.9062 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.4305, allocations: 7.172 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.4306, allocations: 1.031 kB / 0.5383 GB, free: 8.176 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 (3): * Single equations (assignments): 3 * 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.000193/0.4307, allocations: 214.4 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.4308, allocations: 45.66 kB / 0.5386 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4311, allocations: 126.4 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4311, allocations: 1.094 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4311, allocations: 3.984 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4311, allocations: 1.156 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.4314, allocations: 289.2 kB / 0.539 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4314, allocations: 1.438 kB / 0.539 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.4315, allocations: 15.08 kB / 0.539 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4315, allocations: 0 / 0.539 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4315, allocations: 8 kB / 0.539 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4315, allocations: 1.344 kB / 0.539 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4315, allocations: 0 / 0.539 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.4318, allocations: 207.2 kB / 0.5392 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/0.4319, allocations: 109.5 kB / 0.5393 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4319, allocations: 1.219 kB / 0.5393 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.432, allocations: 11.27 kB / 0.5393 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.432, allocations: 4.969 kB / 0.5393 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.432, allocations: 1.031 kB / 0.5393 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005983/0.4326, allocations: 0.6569 MB / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4327, allocations: 0 / 0.54 GB, free: 7.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.4329, allocations: 20.08 kB / 0.54 GB, free: 7.004 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 (3): * Single equations (assignments): 3 * 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.0007822/0.4337, allocations: 341.1 kB / 0.5403 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.4339, allocations: 49.64 kB / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4339, allocations: 0 / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.434, allocations: 21.61 kB / 0.5404 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.4344, allocations: 39.94 kB / 0.5404 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4356, allocations: 0.7929 MB / 0.5412 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.436, allocations: 0.8251 MB / 0.542 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.4361, allocations: 23.34 kB / 0.542 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.4361, allocations: 11.91 kB / 0.5421 GB, free: 5.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4361, allocations: 0 / 0.5421 GB, free: 5.562 MB / 398.1 MB Notification: Performance of Templates: time 0.004668/0.4408, allocations: 1.294 MB / 0.5433 GB, free: 4.844 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches