Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.000828/0.000828, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001057/0.001057, allocations: 170.9 kB / 24.82 MB, free: 9.312 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 1.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.309/0.309, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.144e-05, allocations: 6.25 kB / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005954/0.005985, allocations: 1.946 MB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.007549, allocations: 1.025 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.007639, allocations: 3.938 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.007895, allocations: 51.62 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.01117, allocations: 103.4 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.0114, allocations: 103.6 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.0116, allocations: 143.5 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.01171, allocations: 25.78 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.01183, allocations: 67.83 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.01192, allocations: 47.81 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.01194, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.274e-05/0.01204, allocations: 47.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.0121, allocations: 27.91 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.01214, allocations: 31.86 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.01237, allocations: 127.4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01238, allocations: 4 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01238, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.01238, allocations: 0 / 382.3 MB, free: 14.53 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.0005461/0.01293, allocations: 0.5052 MB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.01297, allocations: 8.031 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.01302, allocations: 32.72 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.01321, allocations: 165.2 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.01323, allocations: 8.375 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.01325, allocations: 4.375 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.01343, allocations: 147.6 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01344, allocations: 7.922 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.01345, allocations: 0 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01345, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.0135, allocations: 23.98 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.01392, allocations: 0.5526 MB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.01709, allocations: 71.08 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.01713, allocations: 27.67 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.01714, allocations: 4 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.01726, allocations: 94.73 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.01726, allocations: 4 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000189/0.01745, allocations: 97.52 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.01747, allocations: 55.41 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.01761, allocations: 243 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.01763, allocations: 29.7 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.0177, allocations: 166.7 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.01773, allocations: 35.73 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.01778, allocations: 39.36 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.0179, allocations: 0.5 MB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.01792, allocations: 15.92 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.01797, allocations: 58.41 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.01805, allocations: 78.36 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01805, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001332/0.01818, allocations: 105.5 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.01819, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.0182, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.01821, allocations: 3.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.01828, allocations: 19.94 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.01829, allocations: 4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.01833, allocations: 15.92 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.01834, allocations: 7.938 kB / 385.4 MB, free: 11.13 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 8.226e-05/0.01842, allocations: 174.8 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.01844, allocations: 15.91 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.01858, allocations: 103.1 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01858, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.01858, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01859, allocations: 4 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.0187, allocations: 141.1 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.0187, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.01876, allocations: 15.98 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.01876, allocations: 0 / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01877, allocations: 4 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01877, allocations: 8 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01877, allocations: 0 / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.01894, allocations: 148.8 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01896, allocations: 19.84 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01897, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.01901, allocations: 7.984 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.01904, allocations: 8 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01905, allocations: 3.984 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.01912, allocations: 163.1 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01912, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.01933, allocations: 32.02 kB / 386.3 MB, free: 10.24 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.003854/0.02318, allocations: 392 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.0233, allocations: 67.33 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.0233, allocations: 0 / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.02335, allocations: 31.61 kB / 386.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.02358, allocations: 43.28 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.02398, allocations: 250 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.02403, allocations: 67.84 kB / 387.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.171e-05/0.02408, allocations: 17.73 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.02418, allocations: 102.2 kB / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02418, allocations: 0 / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of Templates: time 0.007589/0.03177, allocations: 2.247 MB / 389.5 MB, free: 7.156 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.4956307550892234]