Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.0009964/0.0009964, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001/0.001, 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.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.637 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.2832/0.2832, allocations: 34.25 MB / 295.7 MB, free: 0.7617 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.792e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002015/0.002033, allocations: 1.657 MB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.002741, allocations: 0.5336 MB / 380.3 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.002793, allocations: 4 kB / 380.3 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.003032, allocations: 75.7 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.003287, allocations: 107.5 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.00348, allocations: 95.56 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003625, allocations: 79.83 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.00372, allocations: 19.97 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.003779, allocations: 39.91 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.003886, allocations: 59.86 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.0039, allocations: 4 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.003976, allocations: 47.84 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.004025, allocations: 27.86 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.004054, allocations: 7.938 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.004203, allocations: 91.72 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004205, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004206, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.004209, allocations: 0 / 380.9 MB, free: 15.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003948/0.004604, allocations: 439.9 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004638, allocations: 11.97 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.004678, allocations: 16.84 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.004814, allocations: 149.1 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.004825, allocations: 4.375 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.004848, allocations: 4.375 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004959, allocations: 58.95 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.004969, allocations: 192 / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004978, allocations: 8.125 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004984, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.005019, allocations: 15.92 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.005296, allocations: 299.6 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.005356, allocations: 39.05 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.005379, allocations: 19.62 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.005397, allocations: 0 / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.005421, allocations: 41.33 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.005422, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.005917, allocations: 173.4 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.005943, allocations: 51.41 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.006077, allocations: 242.4 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.006087, allocations: 25.7 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.006147, allocations: 158.8 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.006169, allocations: 23.81 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.006201, allocations: 27.36 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.006312, allocations: 0.504 MB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.006331, allocations: 4 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.006349, allocations: 15.98 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.006397, allocations: 35.62 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006398, allocations: 0 / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.82e-05/0.006486, allocations: 81.66 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.006498, allocations: 4 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006503, allocations: 4 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.006517, allocations: 3.938 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.006586, allocations: 19.98 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.00659, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.006609, allocations: 4 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006616, allocations: 4 kB / 383.4 MB, free: 13.11 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 6.324e-05/0.006679, allocations: 168.4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.006704, allocations: 23.89 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.006825, allocations: 79.45 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006827, allocations: 4 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.006831, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006834, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.007108, allocations: 381 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007109, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.007142, allocations: 12 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007145, allocations: 8.031 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.007154, allocations: 11.92 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.007155, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007156, allocations: 0 / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.007268, allocations: 231.5 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.007276, allocations: 7.953 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.007288, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.007326, allocations: 7.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.007355, allocations: 7.938 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.007359, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.007429, allocations: 171.1 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007429, allocations: 4 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.007588, allocations: 19.94 kB / 384.5 MB, free: 11.91 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.0009054/0.008494, allocations: 433.3 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.008591, allocations: 47.59 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008592, allocations: 0 / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.008623, allocations: 31.61 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.008829, allocations: 23.94 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.009147, allocations: 233.9 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.009186, allocations: 71.33 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.994e-05/0.009216, allocations: 13.03 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.009247, allocations: 16.48 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009248, allocations: 0 / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002929/0.01218, allocations: 1.375 MB / 386.7 MB, free: 9.785 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.2799918800592422]