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.000865/0.000865, allocations: 83.58 kB / 21.19 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.0009081/0.0009081, 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 0.8988/0.8988, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 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.2833/0.2833, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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.122e-06/1.122e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.119e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001992/0.002014, allocations: 1.696 MB / 377.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.002694, allocations: 0.5376 MB / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.002751, allocations: 0 / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.003008, allocations: 99.61 kB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.003243, allocations: 115.5 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.00343, allocations: 91.69 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003572, allocations: 107.7 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.003667, allocations: 15.94 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.003729, allocations: 55.88 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.003812, allocations: 59.86 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003827, allocations: 4 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.003901, allocations: 47.91 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.004052, allocations: 27.86 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.004082, allocations: 23.92 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004234, allocations: 111.5 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004236, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004237, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.004241, allocations: 0 / 379 MB, free: 1.637 MB / 346.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.0003744/0.004616, allocations: 455.8 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004652, allocations: 12.03 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.004695, allocations: 20.84 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.004824, allocations: 160.3 kB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.004832, allocations: 384 / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.004854, allocations: 12.31 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.004971, allocations: 74.94 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.004981, allocations: 192 / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.00499, allocations: 4.125 kB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004996, allocations: 4 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.005036, allocations: 19.97 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.005321, allocations: 323.6 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.00539, allocations: 54.98 kB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.005416, allocations: 23.67 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.005434, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.005453, allocations: 41.33 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.005454, allocations: 4 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005495/0.006003, allocations: 237.9 kB / 380.4 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.006029, allocations: 59.33 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.006177, allocations: 254.7 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.006189, allocations: 29.7 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.006241, allocations: 154.9 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.00627, allocations: 47.58 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.006303, allocations: 27.38 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.006405, allocations: 0.5156 MB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.006433, allocations: 15.98 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.006458, allocations: 15.98 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.006521, allocations: 55.44 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006522, allocations: 0 / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001102/0.006632, allocations: 105.6 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.006644, allocations: 4 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006648, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.006664, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.006748, allocations: 27.92 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.006754, allocations: 12 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.006773, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.006781, allocations: 11.92 kB / 381.8 MB, free: 14.69 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 5.825e-05/0.00684, allocations: 160.6 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.006864, allocations: 23.86 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.007014, allocations: 119 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007017, allocations: 4 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.00702, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.007023, allocations: 0 / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.007335, allocations: 444.8 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007336, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.007381, allocations: 23.98 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.007384, allocations: 3.984 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.007395, allocations: 11.94 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.007398, allocations: 3.938 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007398, allocations: 0 / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.007539, allocations: 259.5 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.007549, allocations: 11.91 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.007561, allocations: 3.938 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.007597, allocations: 12.03 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.007625, allocations: 11.97 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.00763, allocations: 4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.138e-05/0.007702, allocations: 181.1 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007702, allocations: 0 / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.007862, allocations: 27.94 kB / 383 MB, free: 13.33 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.0008161/0.008678, allocations: 446.5 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008794, allocations: 67.59 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008796, allocations: 7.938 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.008833, allocations: 39.67 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.009044, allocations: 28.08 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.009397, allocations: 276.7 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.009438, allocations: 71.33 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.009478, allocations: 20.47 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.009509, allocations: 20.56 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009509, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.006785/0.01629, allocations: 1.682 MB / 385.7 MB, free: 10.81 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] 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","",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.8722465578466654]