Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 205.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2698/0.2698, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 83.86 kB / 0.4967 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4097, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003358/0.4131, allocations: 1.61 MB / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.4142, allocations: 0.545 MB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.4143, allocations: 0 / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.4149, allocations: 451.1 kB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.4154, allocations: 291.3 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.4159, allocations: 171.1 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.4161, allocations: 171.6 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4162, allocations: 15.98 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4164, allocations: 103.8 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.4166, allocations: 247.5 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.4167, allocations: 7.938 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.4167, allocations: 31.92 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4169, allocations: 87.67 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.4169, allocations: 63.25 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.4173, allocations: 257.1 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4173, allocations: 0 / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4173, allocations: 0 / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4173, allocations: 3.938 kB / 0.5651 GB, free: 15.94 MB / 414.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.000736/0.418, allocations: 0.5699 MB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4181, allocations: 12.02 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.4181, allocations: 48.66 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4184, allocations: 242.6 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-06/0.4184, allocations: 384 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4185, allocations: 384 / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4186, allocations: 51.22 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4186, allocations: 192 / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4186, allocations: 7.938 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4186, allocations: 4 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.4187, allocations: 23.98 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.4192, allocations: 332.4 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.4193, allocations: 38.48 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.4193, allocations: 16.91 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4194, allocations: 0 / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.4194, allocations: 38.56 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.4194, allocations: 3.938 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002807/0.4197, allocations: 105.4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4197, allocations: 51.41 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/0.4206, allocations: 0.8652 MB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4206, allocations: 25.7 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4208, allocations: 212 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4208, allocations: 7.953 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.4209, allocations: 17.7 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4211, allocations: 354.8 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.4211, allocations: 15.98 kB / 0.568 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.4212, allocations: 4 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.4212, allocations: 36.94 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4212, allocations: 0 / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.4214, allocations: 101.3 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4214, allocations: 4 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4214, allocations: 4 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4214, allocations: 0 / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.4215, allocations: 8 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4215, allocations: 0 / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.4216, allocations: 8.016 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4216, allocations: 4 kB / 0.5682 GB, free: 12.58 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 (2): * Single equations (assignments): 2 * 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.0002001/0.4218, allocations: 209.7 kB / 0.5684 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.4218, allocations: 39.72 kB / 0.5684 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.422, allocations: 112.7 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4221, allocations: 4 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4221, allocations: 3.938 kB / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4221, allocations: 0 / 0.5686 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.4223, allocations: 229.2 kB / 0.5688 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4223, allocations: 7.969 kB / 0.5688 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.4224, allocations: 11.98 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4224, allocations: 0 / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4224, allocations: 0 / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4224, allocations: 0 / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4224, allocations: 0 / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.4226, allocations: 191.2 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.4227, allocations: 35.66 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4227, allocations: 7.938 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.4228, allocations: 4.031 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.4228, allocations: 3.938 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.4228, allocations: 4 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000682/0.4235, allocations: 0.655 MB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4235, allocations: 0 / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4237, allocations: 19.94 kB / 0.5697 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 (2): * Single equations (assignments): 2 * 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.001374/0.4251, allocations: 360.6 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.4252, allocations: 23.98 kB / 0.5701 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4252, allocations: 0 / 0.5701 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.4253, allocations: 15.98 kB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4257, allocations: 33.2 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4269, allocations: 0.7869 MB / 0.5709 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.4271, allocations: 216.2 kB / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.4272, allocations: 15.97 kB / 0.5711 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.4272, allocations: 11.44 kB / 0.5711 GB, free: 9.621 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4272, allocations: 0 / 0.5711 GB, free: 9.621 MB / 414.1 MB Notification: Performance of Templates: time 0.005079/0.4323, allocations: 1.45 MB / 0.5725 GB, free: 8.176 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.393744044005871]