Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, 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.2339/0.2339, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 79.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4194, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002822/0.4222, allocations: 1.617 MB / 0.5326 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.4232, allocations: 0.5362 MB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.4233, allocations: 1.344 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.4239, allocations: 456.7 kB / 0.5335 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.4244, allocations: 292.4 kB / 0.5338 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4247, allocations: 133.5 kB / 0.534 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.4249, allocations: 166.4 kB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.425, allocations: 5.5 kB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.4252, allocations: 118.5 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.4254, allocations: 211.1 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.4254, allocations: 3.25 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.4255, allocations: 22.89 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.4256, allocations: 82.47 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.4257, allocations: 102.2 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.426, allocations: 250.4 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4261, allocations: 0 / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4261, allocations: 0 / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4261, allocations: 4 kB / 0.5349 GB, free: 11.21 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.0008997/0.427, allocations: 0.6334 MB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.427, allocations: 10.56 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.4271, allocations: 41.41 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.4275, allocations: 290.7 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4275, allocations: 5.188 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.4275, allocations: 2.562 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.4277, allocations: 62.23 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4277, allocations: 4 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4278, allocations: 1.375 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4278, allocations: 0 / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.4279, allocations: 34.38 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.4284, allocations: 391.2 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4286, allocations: 47.81 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.4287, allocations: 19 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4287, allocations: 1.219 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4287, allocations: 36.06 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.4287, allocations: 0 / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003388/0.4291, allocations: 113.6 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.4291, allocations: 59.39 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/0.43, allocations: 0.855 MB / 0.5374 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.43, allocations: 25.7 kB / 0.5374 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4302, allocations: 220 kB / 0.5376 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4302, allocations: 8.906 kB / 0.5376 GB, free: 8.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.4302, allocations: 16.94 kB / 0.5377 GB, free: 8.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4304, allocations: 364.1 kB / 0.538 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.4305, allocations: 20.3 kB / 0.538 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.4305, allocations: 12.83 kB / 0.538 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4307, allocations: 36.06 kB / 0.5381 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4307, allocations: 0 / 0.5381 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.4309, allocations: 105.7 kB / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4309, allocations: 5.5 kB / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4309, allocations: 0 / 0.5382 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4309, allocations: 5.219 kB / 0.5382 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.431, allocations: 18.64 kB / 0.5382 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.4311, allocations: 0 / 0.5382 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.4311, allocations: 3.25 kB / 0.5382 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4311, allocations: 5.062 kB / 0.5382 GB, free: 8.496 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.0001719/0.4313, allocations: 214 kB / 0.5384 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.4314, allocations: 37.06 kB / 0.5384 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4316, allocations: 119.8 kB / 0.5386 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4317, allocations: 1.344 kB / 0.5386 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4317, allocations: 0 / 0.5386 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4317, allocations: 7.922 kB / 0.5386 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.432, allocations: 292.9 kB / 0.5388 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.432, allocations: 0 / 0.5388 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.432, allocations: 6.906 kB / 0.5389 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.432, allocations: 5.125 kB / 0.5389 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.4321, allocations: 3.984 kB / 0.5389 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4321, allocations: 1.188 kB / 0.5389 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4321, allocations: 4 kB / 0.5389 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.4323, allocations: 196.8 kB / 0.5391 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.4324, allocations: 117.3 kB / 0.5392 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.4324, allocations: 5.375 kB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.4325, allocations: 2.969 kB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.4326, allocations: 1.5 kB / 0.5392 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4326, allocations: 5.312 kB / 0.5392 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006402/0.4332, allocations: 0.6554 MB / 0.5398 GB, free: 7.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4332, allocations: 0 / 0.5398 GB, free: 7.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.4335, allocations: 23.12 kB / 0.5398 GB, free: 7.332 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.0007758/0.4343, allocations: 338.2 kB / 0.5402 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.4345, allocations: 45.78 kB / 0.5402 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4345, allocations: 0 / 0.5402 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.4346, allocations: 16.48 kB / 0.5402 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.435, allocations: 32.05 kB / 0.5403 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4361, allocations: 0.7845 MB / 0.541 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4365, allocations: 0.8223 MB / 0.5418 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.4366, allocations: 8.188 kB / 0.5418 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.4366, allocations: 15.27 kB / 0.5418 GB, free: 5.914 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4366, allocations: 0 / 0.5418 GB, free: 5.914 MB / 398.1 MB Notification: Performance of Templates: time 0.004881/0.4415, allocations: 1.288 MB / 0.5431 GB, free: 5.23 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches