Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001435/0.001435, 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.001672/0.001672, allocations: 206.4 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.575/1.575, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2681/0.2681, allocations: 46.95 MB / 360.8 MB, free: 3.895 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 83.81 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4358, allocations: 66.09 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003903/0.4397, allocations: 1.615 MB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.441, allocations: 0.5226 MB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.4411, allocations: 3.938 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.4415, allocations: 127.7 kB / 0.5634 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.4421, allocations: 131.5 kB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.4424, allocations: 83.77 kB / 0.5636 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.4427, allocations: 107.7 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4428, allocations: 10.67 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.443, allocations: 51.81 kB / 0.5638 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.4431, allocations: 91.77 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4431, allocations: 0 / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4433, allocations: 43.97 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.4433, allocations: 31.84 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.4434, allocations: 31.75 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4436, allocations: 127.2 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4436, allocations: 0 / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4436, allocations: 0 / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4436, allocations: 3.938 kB / 0.5641 GB, free: 0.9922 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000782/0.4444, allocations: 361.4 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4445, allocations: 8.031 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.4445, allocations: 16.84 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.4447, allocations: 162.3 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4448, allocations: 8.375 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.4448, allocations: 384 / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.4449, allocations: 54.23 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.445, allocations: 4.188 kB / 0.5647 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.445, allocations: 7.938 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.445, allocations: 0 / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.4451, allocations: 27.92 kB / 0.5647 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.4455, allocations: 240.5 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4457, allocations: 50.44 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.4457, allocations: 16.86 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.4457, allocations: 4 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4458, allocations: 34.66 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4458, allocations: 0 / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001008/0.4468, allocations: 237.5 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.4468, allocations: 51.41 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.4473, allocations: 279.8 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4473, allocations: 25.7 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.4475, allocations: 112.1 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.4476, allocations: 31.73 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.4476, allocations: 25.66 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003731/0.448, allocations: 330.8 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.4481, allocations: 27.97 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.4482, allocations: 24.05 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4483, allocations: 68.77 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4483, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002332/0.4485, allocations: 101.6 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4486, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4486, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4486, allocations: 4 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4487, allocations: 16.03 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.4487, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.4488, allocations: 23.91 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4488, allocations: 4 kB / 0.5664 GB, free: 14.49 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 (8): * Single equations (assignments): 8 * 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.0001671/0.4489, allocations: 143 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.449, allocations: 11.91 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.4493, allocations: 119 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4493, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4493, allocations: 4 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4493, allocations: 0 / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.4499, allocations: 358.9 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4499, allocations: 4 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.4499, allocations: 19.92 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4499, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.45, allocations: 8 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.45, allocations: 480 / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.45, allocations: 3.938 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4503, allocations: 212.2 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.4503, allocations: 15.94 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4503, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.4504, allocations: 8 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4504, allocations: 11.92 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4504, allocations: 3.938 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.4506, allocations: 212.1 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4506, allocations: 0 / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4509, allocations: 23.94 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001941/0.4528, allocations: 480.6 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.4531, allocations: 63.94 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4531, allocations: 0 / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.4531, allocations: 35.98 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4536, allocations: 31.33 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.4542, allocations: 304.3 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.4544, allocations: 105 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.4544, allocations: 20.95 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.4545, allocations: 15.44 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4545, allocations: 0 / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Templates: time 0.00502/0.4595, allocations: 1.465 MB / 0.5699 GB, free: 10.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.565151929855347]