Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 111.1 kB / 20.44 MB, free: 1.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 206 kB / 23.72 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2747/0.2747, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003152/0.003152, allocations: 64.09 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4113, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003689/0.415, allocations: 1.608 MB / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4162, allocations: 0.5456 MB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.4162, allocations: 0 / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.4169, allocations: 451.1 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.4175, allocations: 299.3 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.418, allocations: 179.2 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.4182, allocations: 167.7 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4183, allocations: 11.98 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.4185, allocations: 115.7 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.4188, allocations: 251.5 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.4188, allocations: 4 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.4189, allocations: 31.92 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.419, allocations: 79.7 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.4191, allocations: 67.23 kB / 0.5648 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.4195, allocations: 265 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4195, allocations: 4 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4195, allocations: 0 / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4195, allocations: 0 / 0.565 GB, free: 140 kB / 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.0008828/0.4203, allocations: 0.5777 MB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4204, allocations: 12.03 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.4205, allocations: 48.55 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.4208, allocations: 242.8 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4208, allocations: 384 / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4208, allocations: 4.375 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.421, allocations: 58.78 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.421, allocations: 8 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.421, allocations: 0 / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4211, allocations: 0 / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.4212, allocations: 31.97 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.4218, allocations: 344.3 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4219, allocations: 38.56 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.422, allocations: 32.92 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.422, allocations: 4 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4221, allocations: 34.56 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4221, allocations: 0 / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003887/0.4225, allocations: 129.3 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.4225, allocations: 59.34 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.4234, allocations: 0.8614 MB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4234, allocations: 25.7 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4236, allocations: 216 kB / 0.5677 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4237, allocations: 15.91 kB / 0.5677 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.4237, allocations: 21.7 kB / 0.5677 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4239, allocations: 354.8 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.424, allocations: 19.98 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.424, allocations: 15.98 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.4242, allocations: 57.02 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4242, allocations: 0 / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002219/0.4244, allocations: 117.3 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4244, allocations: 6.656 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4244, allocations: 3.984 kB / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4244, allocations: 0 / 0.5683 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.4245, allocations: 8 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4245, allocations: 0 / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.4246, allocations: 7.984 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4246, allocations: 0 / 0.5683 GB, free: 12.64 MB / 414.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.0002148/0.4248, allocations: 213.7 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.4249, allocations: 43.72 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.4253, allocations: 137 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4253, allocations: 3.984 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4253, allocations: 0 / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4253, allocations: 0 / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.4256, allocations: 233.2 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4256, allocations: 0 / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.4256, allocations: 15.98 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4256, allocations: 0 / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4257, allocations: 4 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4257, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4257, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.426, allocations: 219.1 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.426, allocations: 35.66 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4261, allocations: 0 / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.4262, allocations: 7.984 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.4262, allocations: 0 / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4262, allocations: 4 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.4269, allocations: 0.6511 MB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4269, allocations: 7.938 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.4272, allocations: 19.98 kB / 0.5698 GB, free: 11 MB / 414.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.001439/0.4286, allocations: 370.4 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.4288, allocations: 47.95 kB / 0.5702 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4288, allocations: 0 / 0.5702 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.4289, allocations: 23.92 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4293, allocations: 35.84 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4306, allocations: 0.8024 MB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.4308, allocations: 216.1 kB / 0.5713 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.4309, allocations: 23.73 kB / 0.5713 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.4309, allocations: 11.44 kB / 0.5713 GB, free: 9.586 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4309, allocations: 0 / 0.5713 GB, free: 9.586 MB / 414.1 MB Notification: Performance of Templates: time 0.005584/0.4365, allocations: 1.504 MB / 0.5728 GB, free: 8.094 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341435718815774]