Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001151/0.001151, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001197/0.001197, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3296/0.3296, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.851e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002646/0.002665, allocations: 1.687 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.003559, allocations: 0.5298 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.003641, allocations: 3.938 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.004217, allocations: 91.67 kB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.004559, allocations: 115.6 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.004818, allocations: 99.62 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004985, allocations: 99.64 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.005105, allocations: 23.91 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.00519, allocations: 51.89 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.005288, allocations: 59.86 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.005304, allocations: 11.98 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.005396, allocations: 47.86 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.005446, allocations: 27.86 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.00548, allocations: 27.92 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.005649, allocations: 103.6 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005651, allocations: 4 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 4e-07/0.005651, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005656, allocations: 0 / 381.5 MB, free: 15.39 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00041/0.006066, allocations: 459.7 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.006106, allocations: 12.03 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.006142, allocations: 20.84 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.00628, allocations: 164.3 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.006289, allocations: 384 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.006313, allocations: 8.375 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.006426, allocations: 66.94 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006437, allocations: 192 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.006445, allocations: 8.062 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.00645, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.006485, allocations: 15.98 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.006763, allocations: 296.2 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.007015, allocations: 54.97 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.007036, allocations: 27.62 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.007061, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.007084, allocations: 37.39 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 6.22e-07/0.007084, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005337/0.007618, allocations: 217.7 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.007646, allocations: 51.41 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.007784, allocations: 246.6 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007798, allocations: 29.7 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.007864, allocations: 166.8 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.0079, allocations: 47.58 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.007938, allocations: 35.34 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.008076, allocations: 0.5 MB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.008097, allocations: 15.98 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.008115, allocations: 8 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.008168, allocations: 47.67 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.00817, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001075/0.008277, allocations: 97.52 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008291, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.008296, allocations: 4 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.008308, allocations: 0 / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.00839, allocations: 27.98 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008395, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.008414, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.008422, allocations: 4 kB / 384.1 MB, free: 12.55 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 (13): * Single equations (assignments): 13 * 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.185e-05/0.008503, allocations: 168.4 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.008533, allocations: 27.86 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.008684, allocations: 114.5 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008687, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.008689, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.008693, allocations: 4 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.009022, allocations: 393.5 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.009025, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.009075, allocations: 27.92 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009079, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.009085, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009086, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.009089, allocations: 7.938 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.009232, allocations: 251.5 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.009244, allocations: 19.84 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.009258, allocations: 11.98 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.00929, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.009316, allocations: 11.92 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.009322, allocations: 8 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.00939, allocations: 177 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009391, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.00955, allocations: 27.94 kB / 385.4 MB, free: 11.24 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 (13): * Single equations (assignments): 13 * 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.001013/0.01056, allocations: 443.7 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01068, allocations: 59.53 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01068, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.01072, allocations: 39.61 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01095, allocations: 29.61 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.01135, allocations: 268.7 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.01179, allocations: 71.33 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.01183, allocations: 24.53 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.0119, allocations: 86.19 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0119, allocations: 0 / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003477/0.01538, allocations: 1.723 MB / 388.1 MB, free: 8.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.5264553111046553]