Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001277/0.001277, allocations: 83.3 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001365/0.001365, allocations: 167.3 kB / 23.95 MB, free: 4.16 MB / 14.72 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.373/1.373, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.1978/0.1978, allocations: 32.81 MB / 293.5 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.748e-05, allocations: 6.281 kB / 440.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002751/0.002778, allocations: 1.642 MB / 441.8 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003866, allocations: 0.5298 MB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.003919, allocations: 0 / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.004215, allocations: 99.55 kB / 442.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.004515, allocations: 123.4 kB / 442.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.004773, allocations: 91.69 kB / 442.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.004951, allocations: 99.75 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.00505, allocations: 15.97 kB / 442.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.005136, allocations: 59.81 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005243, allocations: 55.92 kB / 442.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.005262, allocations: 7.938 kB / 442.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.005356, allocations: 51.92 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.00541, allocations: 23.92 kB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.005452, allocations: 23.91 kB / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.005658, allocations: 127.5 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00566, allocations: 0 / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00566, allocations: 0 / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005664, allocations: 0 / 443.1 MB, free: 5.16 MB / 366.1 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.0004944/0.006159, allocations: 365.4 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.00619, allocations: 8.031 kB / 443.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.006241, allocations: 20.84 kB / 443.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.006433, allocations: 145.5 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.006445, allocations: 8.375 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.00647, allocations: 12.31 kB / 443.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.006637, allocations: 66.17 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.006649, allocations: 192 / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006662, allocations: 8.125 kB / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.006666, allocations: 0 / 443.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.006791, allocations: 43.95 kB / 443.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.00717, allocations: 260.4 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.00731, allocations: 62.5 kB / 444 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.007369, allocations: 24.84 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.00739, allocations: 112 / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.007421, allocations: 42.5 kB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.007422, allocations: 0 / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.008481, allocations: 317.1 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.00853, allocations: 51.41 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.008774, allocations: 239.5 kB / 444.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.008794, allocations: 29.7 kB / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.008865, allocations: 108.1 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.008905, allocations: 39.64 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.008964, allocations: 29.7 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.009111, allocations: 334.8 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.009207, allocations: 31.98 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.009297, allocations: 42.47 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.009499, allocations: 84.83 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0095, allocations: 3.938 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.00977, allocations: 145.5 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.009784, allocations: 4 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009788, allocations: 0 / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.0098, allocations: 0 / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.009926, allocations: 31.98 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009932, allocations: 3.984 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.009981, allocations: 7.953 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.009993, allocations: 7.938 kB / 445.6 MB, free: 2.457 MB / 366.1 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 0.0001158/0.01011, allocations: 139 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.01015, allocations: 19.89 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.0105, allocations: 166.6 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0105, allocations: 0 / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01051, allocations: 4 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01051, allocations: 0 / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.01109, allocations: 414.8 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01109, allocations: 0 / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.01119, allocations: 31.92 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.0112, allocations: 4 kB / 446.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01121, allocations: 3.938 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01121, allocations: 0 / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01121, allocations: 8.031 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.01153, allocations: 236.3 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.01155, allocations: 11.91 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01157, allocations: 3.938 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.01165, allocations: 8 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.01168, allocations: 15.91 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01169, allocations: 4 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.01185, allocations: 181.1 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01185, allocations: 4 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.01211, allocations: 27.98 kB / 446.8 MB, free: 1.129 MB / 366.1 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.001751/0.01386, allocations: 496.5 kB / 447.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.01412, allocations: 91.89 kB / 447.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01412, allocations: 0 / 447.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.01423, allocations: 55.91 kB / 447.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.01453, allocations: 25.56 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.01508, allocations: 314.8 kB / 447.8 MB, free: 360 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.0152, allocations: 105.2 kB / 447.9 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.01525, allocations: 20.48 kB / 447.9 MB, free: 212 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.0153, allocations: 24.48 kB / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.0153, allocations: 0 / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of Templates: time 0.173/0.1883, allocations: 1.535 MB / 449.5 MB, free: 21.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.5119937770068645]