Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001945/0.001945, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002093/0.002093, allocations: 169.3 kB / 24.28 MB, free: 148 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 1.629/1.629, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3753/0.3753, allocations: 34.26 MB / 295.3 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.242e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005388/0.005421, allocations: 1.931 MB / 379.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.00841, allocations: 1.032 MB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.008527, allocations: 4 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.008906, allocations: 51.62 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.009393, allocations: 99.41 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.009796, allocations: 99.58 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.01017, allocations: 147.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.0103, allocations: 25.78 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.0105, allocations: 75.77 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.01065, allocations: 39.88 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.01069, allocations: 7.938 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.01085, allocations: 47.92 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.01095, allocations: 31.91 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01105, allocations: 31.86 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.01145, allocations: 151.4 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01146, allocations: 0 / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01146, allocations: 4 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01146, allocations: 0 / 381.1 MB, free: 15.1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000944/0.01241, allocations: 0.4971 MB / 381.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.01246, allocations: 12.03 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.01254, allocations: 24.8 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.01294, allocations: 181.1 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.01297, allocations: 8.375 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.013, allocations: 4.375 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.01337, allocations: 139 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01338, allocations: 3.938 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.0134, allocations: 7.938 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.01341, allocations: 4 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.01362, allocations: 43.91 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01481, allocations: 0.6067 MB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.01531, allocations: 83.16 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.01547, allocations: 35.67 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.01549, allocations: 3.984 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.0158, allocations: 110.7 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.0158, allocations: 0 / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006254/0.01642, allocations: 137.5 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.01648, allocations: 51.41 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.01691, allocations: 275.1 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.01695, allocations: 25.7 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.01714, allocations: 174.8 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.01719, allocations: 27.8 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01729, allocations: 43.31 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003916/0.01768, allocations: 0.504 MB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.01782, allocations: 23.98 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.018, allocations: 70.42 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.01835, allocations: 114.3 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.01836, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004722/0.01883, allocations: 129.5 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.01885, allocations: 5.875 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.01886, allocations: 4 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01888, allocations: 3.984 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01905, allocations: 27.98 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.01907, allocations: 8.062 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01918, allocations: 7.938 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01919, allocations: 4 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000208/0.0194, allocations: 172.5 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.01946, allocations: 19.89 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.01984, allocations: 123.1 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01984, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01984, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01984, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.02006, allocations: 184.4 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.02006, allocations: 8 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02018, allocations: 11.98 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.02018, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.0202, allocations: 4 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.02021, allocations: 0 / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.02021, allocations: 7.922 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.02079, allocations: 196.7 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.02083, allocations: 11.91 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.02087, allocations: 4 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.02095, allocations: 8.031 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.02101, allocations: 7.984 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.02104, allocations: 11.98 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.02128, allocations: 179.2 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02128, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.02171, allocations: 31.92 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003945/0.02565, allocations: 444.4 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.02603, allocations: 83.72 kB / 386 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.02604, allocations: 4.062 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.02623, allocations: 43.86 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.02676, allocations: 40.03 kB / 386.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/0.02764, allocations: 265.8 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.02781, allocations: 106.1 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.933e-05/0.0279, allocations: 17.48 kB / 386.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.02796, allocations: 20.5 kB / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02796, allocations: 0 / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of Templates: time 0.009261/0.03723, allocations: 2.054 MB / 388.5 MB, free: 7.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.997003384982236]