Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0009886/0.0009886, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009293/0.0009293, allocations: 165.2 kB / 25.61 MB, free: 8.594 MB / 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 0.9142/0.9142, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1412/0.1412, allocations: 34.25 MB / 296.8 MB, free: 13.92 MB / 282.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.211e-05, allocations: 3.406 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001578/0.00159, allocations: 1.642 MB / 380.9 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005621/0.002153, allocations: 0.5258 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.002204, allocations: 8 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.002398, allocations: 75.7 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.002583, allocations: 103.5 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.002728, allocations: 91.64 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002834, allocations: 87.73 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.002903, allocations: 8 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.002951, allocations: 47.88 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.003019, allocations: 55.88 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.003028, allocations: 4 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.003083, allocations: 51.86 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.003117, allocations: 23.91 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003135, allocations: 11.94 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003236, allocations: 95.59 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.003237, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.003238, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.003241, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.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.0002459/0.003487, allocations: 439.9 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.525e-05/0.003512, allocations: 8.031 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.003539, allocations: 16.84 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.003629, allocations: 149.1 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.003637, allocations: 8.375 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.00365, allocations: 384 / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.798e-05/0.003718, allocations: 66.91 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.003726, allocations: 4.188 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.003732, allocations: 4.125 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003737, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.003755, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.003949, allocations: 272.3 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.00399, allocations: 35.05 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.004003, allocations: 19.67 kB / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.004014, allocations: 96 / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.004027, allocations: 49.25 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004028, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003398/0.004368, allocations: 153.3 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.004385, allocations: 55.41 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.004462, allocations: 230.8 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.004468, allocations: 33.69 kB / 383.6 MB, free: 18.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.004499, allocations: 154.8 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.004517, allocations: 35.72 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.00454, allocations: 23.38 kB / 383.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.004586, allocations: 0.5001 MB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.004597, allocations: 7.984 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.004608, allocations: 8 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.004636, allocations: 31.67 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.004637, allocations: 3.938 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.485e-05/0.004692, allocations: 73.56 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.0047, allocations: 6.188 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.004703, allocations: 0 / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004715, allocations: 4 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.004763, allocations: 12 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.004766, allocations: 4 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.004783, allocations: 7.984 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.004788, allocations: 4 kB / 384.5 MB, free: 17.97 MB / 314.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 3.892e-05/0.004826, allocations: 156.5 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.004848, allocations: 27.84 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.479e-05/0.004933, allocations: 79.44 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.004934, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.004936, allocations: 3.984 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.004938, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.005114, allocations: 345.6 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005115, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.005144, allocations: 15.98 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005145, allocations: 3.938 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.00515, allocations: 4 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005151, allocations: 0 / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005151, allocations: 3.938 kB / 385.1 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.266e-05/0.005224, allocations: 239.4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.005232, allocations: 15.94 kB / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.005241, allocations: 0 / 385.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.005274, allocations: 8 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.005293, allocations: 3.984 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005296, allocations: 4 kB / 385.4 MB, free: 16.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.005333, allocations: 163.1 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005333, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.005488, allocations: 23.92 kB / 385.6 MB, free: 16.81 MB / 314.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.0008148/0.006303, allocations: 444.1 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.329e-05/0.006366, allocations: 39.67 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.006367, allocations: 0 / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.006386, allocations: 31.59 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.006563, allocations: 19.14 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.006775, allocations: 223.8 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.27e-05/0.006798, allocations: 71.2 kB / 386.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.006826, allocations: 16.78 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.006863, allocations: 82.2 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006863, allocations: 0 / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of Templates: time 0.002374/0.009238, allocations: 1.525 MB / 388 MB, free: 14.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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: 2.911798093933612]