Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.00223/0.00223, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002038/0.002038, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 18.57 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3599/0.3599, allocations: 32.8 MB / 293.9 MB, free: 1.184 MB / 266.7 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.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.CombiTable1Dv.Test32,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.131e-05/4.36e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003589/0.003633, allocations: 1.619 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004908, allocations: 0.5492 MB / 377.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.004971, allocations: 0 / 377.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.005353, allocations: 107.7 kB / 377.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.00574, allocations: 123.5 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.006083, allocations: 111.6 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.00631, allocations: 91.73 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006422, allocations: 15.94 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.006542, allocations: 51.88 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.006692, allocations: 71.84 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.006715, allocations: 4 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.006827, allocations: 47.86 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.006897, allocations: 23.92 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.006943, allocations: 19.86 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.007182, allocations: 107.7 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.007187, allocations: 0 / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007188, allocations: 4 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007195, allocations: 4 kB / 378.2 MB, free: 2.008 MB / 346.7 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.0007191/0.007914, allocations: 463.3 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.00796, allocations: 12.03 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.008028, allocations: 16.78 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.008283, allocations: 153.2 kB / 378.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.008305, allocations: 8.375 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.008331, allocations: 384 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.008514, allocations: 50.23 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.008527, allocations: 192 / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.008544, allocations: 8.125 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.008551, allocations: 4 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.008642, allocations: 23.97 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.009161, allocations: 315.7 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.009291, allocations: 51.05 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.009358, allocations: 19.7 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.009401, allocations: 4 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.009454, allocations: 37.33 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.009455, allocations: 0 / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001222/0.01068, allocations: 205.3 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.01074, allocations: 51.41 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.01113, allocations: 287 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.01116, allocations: 25.7 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.01135, allocations: 166.9 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.01141, allocations: 27.75 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.01149, allocations: 31.36 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003199/0.01181, allocations: 0.5079 MB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.01189, allocations: 19.98 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.01194, allocations: 16 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01209, allocations: 59.88 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01209, allocations: 3.938 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002212/0.01231, allocations: 93.58 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.01234, allocations: 11.92 kB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01234, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.01236, allocations: 0 / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.0125, allocations: 20 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01251, allocations: 4 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.01256, allocations: 7.984 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01257, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 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.0001698/0.01274, allocations: 168.5 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.01278, allocations: 15.91 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01307, allocations: 103.1 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01308, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01308, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01309, allocations: 3.984 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.01387, allocations: 417 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.01388, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.01395, allocations: 19.98 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01395, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.01396, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.01397, allocations: 7.938 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01397, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.01429, allocations: 251.5 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.01431, allocations: 11.91 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01433, allocations: 8.031 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.0144, allocations: 7.984 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.01445, allocations: 4.359 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01446, allocations: 7.984 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.01465, allocations: 187.2 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01465, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.01491, allocations: 23.94 kB / 382.1 MB, free: 13.84 MB / 362.7 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.003321/0.01823, allocations: 0.4972 MB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.01847, allocations: 59.66 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01847, allocations: 0 / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.01856, allocations: 39.61 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.0189, allocations: 19.98 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.01953, allocations: 273.3 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.01966, allocations: 101.8 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.01973, allocations: 20.72 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.01977, allocations: 12.5 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01977, allocations: 4 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005245/0.02502, allocations: 1.416 MB / 384.5 MB, free: 11.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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: 4.929920411086641]