Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.000957/0.000957, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001347/0.001347, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2841/0.2841, allocations: 32.81 MB / 294.6 MB, free: 1.273 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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.832e-05, allocations: 2.312 kB / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003859/0.003887, allocations: 1.961 MB / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.005362, allocations: 1.036 MB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005494, allocations: 3.938 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.00583, allocations: 47.64 kB / 379.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.006142, allocations: 103.4 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.006339, allocations: 99.64 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.006549, allocations: 151.5 kB / 379.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.006673, allocations: 17.8 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.006786, allocations: 79.73 kB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.006878, allocations: 31.91 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.006899, allocations: 11.94 kB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.006998, allocations: 51.91 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.007062, allocations: 27.86 kB / 379.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.007121, allocations: 35.84 kB / 379.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.007359, allocations: 127.5 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.007364, allocations: 0 / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.007365, allocations: 4 kB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007371, allocations: 0 / 379.9 MB, free: 1.102 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005375/0.007908, allocations: 0.4974 MB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.007946, allocations: 8.031 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.008094, allocations: 28.8 kB / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.008298, allocations: 173.1 kB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.008317, allocations: 4.375 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.00834, allocations: 8.375 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.008536, allocations: 147.6 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.008544, allocations: 3.938 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.008558, allocations: 8 kB / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008565, allocations: 0 / 380.7 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.008622, allocations: 27.92 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.009138, allocations: 0.5795 MB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.009354, allocations: 75.09 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.013e-05/0.009394, allocations: 27.69 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.009408, allocations: 0 / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.00955, allocations: 106.7 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.009551, allocations: 3.938 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002288/0.009779, allocations: 105.5 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.00981, allocations: 55.41 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.009956, allocations: 251.1 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.009972, allocations: 25.7 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.01005, allocations: 166.8 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.01007, allocations: 35.72 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.01011, allocations: 39.36 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01023, allocations: 0.5 MB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.01027, allocations: 8 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.01032, allocations: 70.41 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.0104, allocations: 74.38 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.01041, allocations: 4 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001412/0.01055, allocations: 121.4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01057, allocations: 9.875 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01057, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01059, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.01066, allocations: 19.98 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01067, allocations: 4 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.0107, allocations: 7.938 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01071, allocations: 12 kB / 383 MB, free: 13.63 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.359e-05/0.0108, allocations: 172.4 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.01082, allocations: 20.03 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.01098, allocations: 103.1 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01098, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01099, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01099, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.01111, allocations: 164.5 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01111, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.01117, allocations: 8 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01117, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01118, allocations: 8 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01118, allocations: 7.984 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01118, allocations: 0 / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.01137, allocations: 160.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01139, allocations: 19.83 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.01141, allocations: 3.984 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.01145, allocations: 8 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.01149, allocations: 7.984 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.0115, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.01158, allocations: 179.1 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01158, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.01175, allocations: 24 kB / 383.9 MB, free: 12.68 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.0009674/0.01272, allocations: 383 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01286, allocations: 63.66 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01286, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.0129, allocations: 35.61 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01313, allocations: 51.06 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.01362, allocations: 250 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.01367, allocations: 71.83 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.01372, allocations: 21.67 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.01376, allocations: 16.5 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01376, allocations: 0 / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Templates: time 0.00394/0.0177, allocations: 2.075 MB / 386.9 MB, free: 9.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.3230813581030816]