Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001353/0.001353, allocations: 80.31 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.001382/0.001382, allocations: 164.5 kB / 25.61 MB, free: 8.895 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.9169/0.9169, allocations: 177.1 MB / 206 MB, free: 4.508 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.1458/0.1458, allocations: 34.27 MB / 296.8 MB, free: 13.93 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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.154e-05, allocations: 9.625 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001585/0.001596, allocations: 1.646 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00053/0.002126, allocations: 0.5297 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.002174, allocations: 0 / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.002388, allocations: 115.6 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.002576, allocations: 123.5 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002741, allocations: 111.6 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002845, allocations: 95.73 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.002911, allocations: 8 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.002961, allocations: 51.88 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.00303, allocations: 67.84 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.00304, allocations: 8 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.577e-05/0.003096, allocations: 47.86 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.003129, allocations: 27.92 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.003148, allocations: 23.86 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003259, allocations: 91.66 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00326, allocations: 0 / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003261, allocations: 0 / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.003264, allocations: 0 / 382.2 MB, free: 20.45 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.0002513/0.003515, allocations: 459.7 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.499e-05/0.00354, allocations: 12.03 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.003566, allocations: 12.84 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.003653, allocations: 161.1 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.003661, allocations: 8.375 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.003674, allocations: 384 / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.69e-05/0.003741, allocations: 62.92 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00375, allocations: 4.188 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.003755, allocations: 4.125 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.00376, allocations: 0 / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.003779, allocations: 7.984 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.003952, allocations: 276.3 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.003994, allocations: 43.02 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.004006, allocations: 15.69 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.004017, allocations: 0 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.00403, allocations: 45.33 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.004031, allocations: 0 / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003941/0.004425, allocations: 153.4 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.004443, allocations: 55.39 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.004526, allocations: 252.9 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.004531, allocations: 29.7 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.004564, allocations: 170.8 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.00458, allocations: 27.75 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.004604, allocations: 31.34 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.004642, allocations: 0.4962 MB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.004653, allocations: 7.938 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.004665, allocations: 15.97 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.004694, allocations: 27.69 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.004696, allocations: 3.938 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.173e-05/0.004757, allocations: 77.53 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.004766, allocations: 6.188 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.004769, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.004776, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.004825, allocations: 15.98 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004828, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.004845, allocations: 4 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.004849, allocations: 3.984 kB / 384.7 MB, free: 17.79 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.677e-05/0.004886, allocations: 168.5 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.004906, allocations: 15.89 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.004993, allocations: 87.39 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.004995, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004996, allocations: 8 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004999, allocations: 3.984 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.005196, allocations: 345.6 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005198, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.00523, allocations: 15.98 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005232, allocations: 4 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005236, allocations: 0 / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005237, allocations: 0 / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005238, allocations: 3.938 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.005307, allocations: 239.4 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.005316, allocations: 15.94 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.005326, allocations: 4 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.005359, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.005378, allocations: 11.98 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.005382, allocations: 4 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.005421, allocations: 171.1 kB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005421, allocations: 0 / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.005577, allocations: 23.94 kB / 385.8 MB, free: 16.61 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.0007802/0.006357, allocations: 437.9 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.155e-05/0.006428, allocations: 43.66 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006429, allocations: 0 / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.006451, allocations: 27.61 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.006639, allocations: 31.12 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.006863, allocations: 241.4 kB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.547e-05/0.006888, allocations: 75.33 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.006919, allocations: 16.8 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.006959, allocations: 82.19 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00696, allocations: 0 / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Templates: time 0.00268/0.009639, allocations: 1.579 MB / 388.3 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.877470509149134]