Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001171/0.001171, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.003496/0.003496, allocations: 161 kB / 24.56 MB, free: 16 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.023/1.023, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.268/0.268, allocations: 34.27 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.231e-05, allocations: 6.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002253/0.002275, allocations: 1.634 MB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003464, allocations: 1.278 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.003516, allocations: 4 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.003724, allocations: 23.86 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.004003, allocations: 91.48 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.00419, allocations: 91.62 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.004382, allocations: 63.78 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.004481, allocations: 19.97 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.004549, allocations: 27.92 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.004642, allocations: 27.89 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.004659, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.004789, allocations: 95.81 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.004834, allocations: 15.94 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.004863, allocations: 11.98 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.005072, allocations: 131.5 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005074, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005075, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.00508, allocations: 0 / 381.6 MB, free: 15.1 MB / 362.7 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.0004164/0.005497, allocations: 431.9 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.005532, allocations: 12.03 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.005574, allocations: 8.891 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.005712, allocations: 128.5 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.005721, allocations: 12.31 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.005744, allocations: 384 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.005874, allocations: 100 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005881, allocations: 192 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005892, allocations: 8.125 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.0059, allocations: 3.984 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.005927, allocations: 7.938 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.006193, allocations: 279.8 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.006352, allocations: 39.05 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.006372, allocations: 15.62 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.006393, allocations: 15.94 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.006413, allocations: 33.39 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.006414, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003144/0.006729, allocations: 105.5 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.006763, allocations: 81.11 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.006876, allocations: 194 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.006885, allocations: 25.7 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.006934, allocations: 142.9 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006954, allocations: 27.78 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.006981, allocations: 19.38 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.007083, allocations: 0.4923 MB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.007099, allocations: 8 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.007132, allocations: 57.06 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.007166, allocations: 23.69 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.007167, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.748e-05/0.007234, allocations: 61.56 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.007264, allocations: 8 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.007271, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.007289, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.007356, allocations: 11.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007362, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/0.007396, allocations: 11.98 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.007404, allocations: 0 / 383.9 MB, free: 12.53 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 (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 8.169e-05/0.007485, allocations: 156.6 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.007524, allocations: 15.89 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.007682, allocations: 78 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007684, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.007688, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.007692, allocations: 0 / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.008022, allocations: 317.7 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008024, allocations: 64 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.008071, allocations: 27.92 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008075, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008083, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.008085, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008086, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.008245, allocations: 207.8 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.008258, allocations: 7.953 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.008274, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.00834, allocations: 11.98 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.008375, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.00838, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.008475, allocations: 153.3 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008475, allocations: 0 / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.008789, allocations: 35.88 kB / 384.9 MB, free: 11.46 MB / 362.7 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.001367/0.01016, allocations: 496.8 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01027, allocations: 31.67 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01027, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.0103, allocations: 15.69 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01061, allocations: 23.92 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.01097, allocations: 173.9 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.01102, allocations: 59.36 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.01107, allocations: 19.95 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.0112, allocations: 20.48 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.0112, allocations: 0 / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003878/0.01508, allocations: 1.827 MB / 387.5 MB, free: 8.934 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2974562221206725]