Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 115.2 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.002682/0.002682, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.6 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.2349/0.2349, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4069, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003809/0.4107, allocations: 2.057 MB / 0.5337 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4128, allocations: 1.115 MB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.413, allocations: 2.75 kB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.4135, allocations: 268.7 kB / 0.535 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.4141, allocations: 257.9 kB / 0.5353 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.4156, allocations: 0.6589 MB / 0.5359 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.4161, allocations: 354.7 kB / 0.5362 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.4164, allocations: 77.72 kB / 0.5363 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.4165, allocations: 147.2 kB / 0.5365 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.4168, allocations: 206.7 kB / 0.5367 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.4169, allocations: 11.47 kB / 0.5367 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4171, allocations: 74.98 kB / 0.5367 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.4172, allocations: 101.5 kB / 0.5368 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.4174, allocations: 120.7 kB / 0.5369 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.4179, allocations: 338.7 kB / 0.5373 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.4179, allocations: 1.125 kB / 0.5373 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4179, allocations: 7.938 kB / 0.5373 GB, free: 9.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4179, allocations: 0 / 0.5373 GB, free: 9.797 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008597/0.4188, allocations: 0.6553 MB / 0.5379 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4188, allocations: 11.03 kB / 0.5379 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.4189, allocations: 39.25 kB / 0.538 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.4193, allocations: 337.8 kB / 0.5383 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4194, allocations: 7.875 kB / 0.5383 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.4194, allocations: 12.41 kB / 0.5383 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.4197, allocations: 135.8 kB / 0.5384 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4197, allocations: 5.141 kB / 0.5384 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4197, allocations: 4 kB / 0.5384 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4198, allocations: 3.375 kB / 0.5385 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.42, allocations: 90.75 kB / 0.5385 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.4207, allocations: 0.4974 MB / 0.539 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.4209, allocations: 108.2 kB / 0.5391 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.421, allocations: 48.75 kB / 0.5392 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.4211, allocations: 5.453 kB / 0.5392 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4211, allocations: 36 kB / 0.5392 GB, free: 8.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.4211, allocations: 0 / 0.5392 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001078/0.4222, allocations: 453.5 kB / 0.5396 GB, free: 7.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.4222, allocations: 53.62 kB / 0.5397 GB, free: 7.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.4229, allocations: 0.5683 MB / 0.5403 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.423, allocations: 33.64 kB / 0.5403 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4231, allocations: 203.4 kB / 0.5405 GB, free: 7.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.4232, allocations: 61.75 kB / 0.5405 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.4233, allocations: 34.7 kB / 0.5406 GB, free: 7.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4234, allocations: 351 kB / 0.5409 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4236, allocations: 69.92 kB / 0.541 GB, free: 6.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4237, allocations: 68.48 kB / 0.541 GB, free: 6.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.424, allocations: 157 kB / 0.5412 GB, free: 6.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4241, allocations: 7.938 kB / 0.5412 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000393/0.4245, allocations: 228.3 kB / 0.5414 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4245, allocations: 6.469 kB / 0.5414 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4245, allocations: 7.984 kB / 0.5414 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4245, allocations: 1.75 kB / 0.5414 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4247, allocations: 29.55 kB / 0.5415 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4247, allocations: 0.9062 kB / 0.5415 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.4248, allocations: 7.906 kB / 0.5415 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.4248, allocations: 9.109 kB / 0.5415 GB, free: 6.574 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 (17): * Single equations (assignments): 17 * 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.0001907/0.425, allocations: 182.6 kB / 0.5416 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.4251, allocations: 42.59 kB / 0.5417 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.4257, allocations: 284.9 kB / 0.542 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4257, allocations: 2.312 kB / 0.542 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4257, allocations: 0 / 0.542 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4257, allocations: 7.922 kB / 0.542 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.4267, allocations: 0.6749 MB / 0.5426 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4267, allocations: 1.094 kB / 0.5426 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4268, allocations: 38.12 kB / 0.5427 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.4268, allocations: 1.406 kB / 0.5427 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4268, allocations: 5.188 kB / 0.5427 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4268, allocations: 1.125 kB / 0.5427 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4268, allocations: 5.125 kB / 0.5427 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.4273, allocations: 333.3 kB / 0.543 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.4274, allocations: 109.3 kB / 0.5431 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4275, allocations: 1.031 kB / 0.5431 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.4276, allocations: 11.3 kB / 0.5431 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.4276, allocations: 14.55 kB / 0.5431 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4276, allocations: 4.344 kB / 0.5431 GB, free: 5.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.4281, allocations: 430.7 kB / 0.5435 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4281, allocations: 0 / 0.5435 GB, free: 5.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.4285, allocations: 49.81 kB / 0.5436 GB, free: 5.066 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 (17): * Single equations (assignments): 17 * 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.001752/0.4302, allocations: 0.6881 MB / 0.5443 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.4306, allocations: 161.8 kB / 0.5444 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4307, allocations: 1.188 kB / 0.5444 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4308, allocations: 93.61 kB / 0.5445 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.4314, allocations: 81.22 kB / 0.5446 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4326, allocations: 0.7445 MB / 0.5453 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.4331, allocations: 0.8182 MB / 0.5461 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.4332, allocations: 35.42 kB / 0.5461 GB, free: 2.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4332, allocations: 0 / 0.5461 GB, free: 2.977 MB / 398.1 MB Notification: Performance of Templates: time 0.00725/0.4404, allocations: 4.822 MB / 0.5509 GB, free: 14.17 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches