Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 44.9 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.88 kB / 497.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4553, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003921/0.4592, allocations: 1.58 MB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.4602, allocations: 429.5 kB / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.4602, allocations: 0 / 0.5508 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.4605, allocations: 25.33 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.4607, allocations: 42.45 kB / 0.5509 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.4611, allocations: 114.5 kB / 0.551 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4613, allocations: 57.7 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4615, allocations: 11.44 kB / 0.551 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.4615, allocations: 23.86 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.4616, allocations: 17.7 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.4616, allocations: 3.156 kB / 0.5511 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4617, allocations: 34.92 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.4618, allocations: 16.73 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.4619, allocations: 19.88 kB / 0.5511 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.4621, allocations: 77.78 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4621, allocations: 5.188 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4621, allocations: 0 / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.4621, allocations: 0 / 0.5512 GB, free: 11.3 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.0006869/0.4628, allocations: 303.7 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4629, allocations: 9.484 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.4629, allocations: 8.391 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.4631, allocations: 131.5 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4631, allocations: 1.938 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4632, allocations: 9.859 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4633, allocations: 56.23 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4633, allocations: 1.25 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4633, allocations: 3.938 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4634, allocations: 5.125 kB / 0.5517 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4635, allocations: 21.02 kB / 0.5517 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4639, allocations: 247.2 kB / 0.552 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.4642, allocations: 56.02 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.4642, allocations: 11.3 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4642, allocations: 1.125 kB / 0.552 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4643, allocations: 39.62 kB / 0.5521 GB, free: 10.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4643, allocations: 0 / 0.5521 GB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006089/0.4649, allocations: 157.1 kB / 0.5522 GB, free: 10.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.4649, allocations: 51.41 kB / 0.5523 GB, free: 10.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.4651, allocations: 155.5 kB / 0.5524 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4651, allocations: 26.8 kB / 0.5525 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.4652, allocations: 95.41 kB / 0.5525 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4652, allocations: 22.14 kB / 0.5526 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.4653, allocations: 13.34 kB / 0.5526 GB, free: 9.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4655, allocations: 330.3 kB / 0.5529 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.4656, allocations: 19.42 kB / 0.5529 GB, free: 9.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.4657, allocations: 19.92 kB / 0.5529 GB, free: 9.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4658, allocations: 55.02 kB / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4658, allocations: 0 / 0.553 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002106/0.466, allocations: 87.2 kB / 0.5531 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.466, allocations: 12.44 kB / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.466, allocations: 0 / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4661, allocations: 1.219 kB / 0.5531 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.4661, allocations: 13.42 kB / 0.5531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4661, allocations: 0 / 0.5531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.4662, allocations: 3.469 kB / 0.5531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4662, allocations: 5.062 kB / 0.5531 GB, free: 9.52 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 (5): * Single equations (assignments): 5 * 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.0001076/0.4663, allocations: 127.6 kB / 0.5532 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.4663, allocations: 7.578 kB / 0.5532 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4666, allocations: 96.81 kB / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4666, allocations: 1.156 kB / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4666, allocations: 0 / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4666, allocations: 1.219 kB / 0.5533 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.4671, allocations: 334.1 kB / 0.5536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4671, allocations: 0 / 0.5536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.4671, allocations: 21.8 kB / 0.5537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4671, allocations: 0 / 0.5537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4671, allocations: 1.062 kB / 0.5537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4672, allocations: 5.062 kB / 0.5537 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4672, allocations: 3.984 kB / 0.5537 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.4674, allocations: 181.8 kB / 0.5538 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.4674, allocations: 10.83 kB / 0.5539 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4675, allocations: 4.969 kB / 0.5539 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.4675, allocations: 10.22 kB / 0.5539 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4676, allocations: 6.172 kB / 0.5539 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4676, allocations: 1.469 kB / 0.5539 GB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4677, allocations: 117.2 kB / 0.554 GB, free: 8.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4677, allocations: 0 / 0.554 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.4679, allocations: 14.75 kB / 0.554 GB, free: 8.688 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 (5): * Single equations (assignments): 5 * 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.001598/0.4695, allocations: 402.5 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4698, allocations: 49.25 kB / 0.5544 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4698, allocations: 5.312 kB / 0.5544 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.4698, allocations: 31.12 kB / 0.5545 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.4702, allocations: 18.17 kB / 0.5545 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.4707, allocations: 187.8 kB / 0.5547 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4711, allocations: 0.707 MB / 0.5554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.4711, allocations: 7.688 kB / 0.5554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.4712, allocations: 16.67 kB / 0.5554 GB, free: 7.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4712, allocations: 0 / 0.5554 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Templates: time 0.004695/0.4759, allocations: 1.128 MB / 0.5565 GB, free: 6.973 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.465229430235922]