Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, 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.2469/0.2469, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 72.11 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4406, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003612/0.4443, allocations: 1.671 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.4455, allocations: 0.5841 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4457, allocations: 4.688 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.446, allocations: 71.23 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.4465, allocations: 106.2 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.4471, allocations: 183.6 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.4474, allocations: 93.44 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.4476, allocations: 22.5 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.4477, allocations: 41.14 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4479, allocations: 62.31 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.448, allocations: 4.031 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.4482, allocations: 52.73 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4483, allocations: 23.52 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.4484, allocations: 46.28 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.4487, allocations: 112.7 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4487, allocations: 1.312 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4488, allocations: 0 / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4488, allocations: 3.938 kB / 0.534 GB, free: 11.36 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.0007991/0.4496, allocations: 435.2 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4496, allocations: 9.281 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.4497, allocations: 14.34 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.45, allocations: 204.3 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.45, allocations: 1.75 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.4501, allocations: 4.5 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.4503, allocations: 69.05 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4503, allocations: 0 / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.4503, allocations: 9.359 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4504, allocations: 0 / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.4505, allocations: 46.03 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.4511, allocations: 324.5 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.4514, allocations: 68.7 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.4515, allocations: 30.7 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4516, allocations: 1.375 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4516, allocations: 30.56 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.4516, allocations: 0 / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001642/0.4532, allocations: 427.1 kB / 0.5356 GB, free: 9.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.4533, allocations: 56.78 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.4536, allocations: 209.8 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.4537, allocations: 30.45 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4538, allocations: 106.1 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.4538, allocations: 40.23 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.4539, allocations: 22.06 kB / 0.5361 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4541, allocations: 332 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.4543, allocations: 52.45 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4544, allocations: 53.14 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.4548, allocations: 123.6 kB / 0.5366 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4548, allocations: 7.938 kB / 0.5366 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004364/0.4552, allocations: 165.8 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4553, allocations: 4.875 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4553, allocations: 1.25 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4553, allocations: 0 / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4554, allocations: 32.39 kB / 0.5368 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.4554, allocations: 1.188 kB / 0.5368 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.4555, allocations: 25.67 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4556, allocations: 2.25 kB / 0.5368 GB, free: 8.984 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 (11): * Single equations (assignments): 11 * 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.0001435/0.4557, allocations: 131.6 kB / 0.537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.4558, allocations: 13.12 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.4563, allocations: 201 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4563, allocations: 9 kB / 0.5372 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4563, allocations: 0 / 0.5372 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4564, allocations: 1.281 kB / 0.5372 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.4572, allocations: 0.4984 MB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4573, allocations: 1.312 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4574, allocations: 28.98 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4574, allocations: 0.9688 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4574, allocations: 2.25 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4574, allocations: 1.156 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4574, allocations: 1.156 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.4579, allocations: 292.5 kB / 0.538 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.458, allocations: 92.97 kB / 0.5381 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4581, allocations: 5.062 kB / 0.5381 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.4582, allocations: 10.86 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4582, allocations: 4.438 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4582, allocations: 7.469 kB / 0.5381 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.4584, allocations: 171.2 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4584, allocations: 0 / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.4587, allocations: 27.16 kB / 0.5383 GB, free: 7.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001211/0.46, allocations: 459 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.4604, allocations: 128.7 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4604, allocations: 0 / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.4606, allocations: 67.45 kB / 0.5389 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.461, allocations: 32.17 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.4617, allocations: 320.9 kB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.462, allocations: 0.7224 MB / 0.5399 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.4621, allocations: 34.41 kB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.4622, allocations: 19.81 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4622, allocations: 0 / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Performance of Templates: time 0.005376/0.4676, allocations: 1.652 MB / 0.5416 GB, free: 5.621 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches