Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001071/0.001071, 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.00104/0.00104, 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.9785/0.9785, allocations: 177.1 MB / 205 MB, free: 5.625 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.2543/0.2543, allocations: 34.25 MB / 295.7 MB, free: 0.7656 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.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.185e-05, allocations: 9.828 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.002438/0.00247, allocations: 1.642 MB / 379.7 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.004198, allocations: 1.278 MB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.004269, allocations: 0 / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.004514, allocations: 27.61 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.004846, allocations: 87.56 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.005123, allocations: 111.6 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.005281, allocations: 71.77 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.005378, allocations: 15.92 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.005439, allocations: 31.92 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.00555, allocations: 31.89 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.005566, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.005713, allocations: 91.88 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.005761, allocations: 11.94 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.005793, allocations: 19.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.006006, allocations: 127.6 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.00601, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006011, allocations: 0 / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.006016, allocations: 0 / 381.6 MB, free: 15.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004633/0.006479, allocations: 432 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.006519, allocations: 12.03 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.006571, allocations: 8.891 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.006746, allocations: 144.5 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.006757, allocations: 384 / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.006782, allocations: 4.359 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.006951, allocations: 104 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006962, allocations: 4.172 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.006974, allocations: 4.125 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006982, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.007011, allocations: 12 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.007332, allocations: 275.8 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.007506, allocations: 46.98 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.00753, allocations: 7.688 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.007549, allocations: 8.031 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.007572, allocations: 37.38 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.007573, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003811/0.007954, allocations: 105.4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.007995, allocations: 81.11 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.00812, allocations: 203.7 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.008131, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.008186, allocations: 142.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.008207, allocations: 15.86 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.008244, allocations: 27.36 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.00837, allocations: 496.1 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.008391, allocations: 7.984 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.008431, allocations: 57.02 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.008471, allocations: 23.69 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.008472, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.982e-05/0.008552, allocations: 57.62 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.008564, allocations: 8.031 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.008568, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00858, allocations: 0 / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.008639, allocations: 11.98 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008645, allocations: 3.938 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.008669, allocations: 11.95 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.008674, allocations: 4 kB / 383.9 MB, free: 12.51 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 (5): * Single equations (assignments): 5 * 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 6.84e-05/0.008743, allocations: 152.6 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.008767, allocations: 15.88 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.008887, allocations: 74.08 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008889, allocations: 4 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008893, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008897, allocations: 3.984 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.009127, allocations: 321.7 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.009134, allocations: 8.047 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.009167, allocations: 8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009169, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009176, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009178, allocations: 0 / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.00918, allocations: 4 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.009289, allocations: 215.8 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.009299, allocations: 7.938 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.009312, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.009345, allocations: 4 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.009382, allocations: 12.2 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.009386, allocations: 0 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.009449, allocations: 147.2 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009449, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.009655, allocations: 39.86 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001058/0.01071, allocations: 488 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01083, allocations: 23.69 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01083, allocations: 4 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.01085, allocations: 23.61 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.01106, allocations: 26.86 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.0114, allocations: 177.9 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.01145, allocations: 66.39 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.0115, allocations: 15.97 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.01155, allocations: 20.48 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01155, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Templates: time 0.004372/0.01592, allocations: 2.014 MB / 387.8 MB, free: 8.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.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.2123920833691955]