Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001566/0.001566, allocations: 83.59 kB / 21.18 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.001698/0.001698, allocations: 165 kB / 24.56 MB, free: 12 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.054/1.054, allocations: 177.1 MB / 205 MB, free: 5.602 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.2823/0.2823, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.796e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002931/0.002959, allocations: 1.969 MB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.004292, allocations: 1.044 MB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.004394, allocations: 0 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.004709, allocations: 47.64 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.005032, allocations: 107.4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.005251, allocations: 95.64 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.00544, allocations: 155.5 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.00554, allocations: 13.81 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.00564, allocations: 83.67 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.005725, allocations: 31.91 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005744, allocations: 8 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.005839, allocations: 51.91 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.005892, allocations: 27.86 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.005943, allocations: 39.84 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.006147, allocations: 127.5 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006151, allocations: 7.938 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006152, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006156, allocations: 0 / 381.9 MB, free: 14.74 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.0005272/0.006683, allocations: 0.4897 MB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.006719, allocations: 8.031 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.00678, allocations: 24.8 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.006972, allocations: 177.1 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.006992, allocations: 8.375 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.007015, allocations: 8.312 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.0072, allocations: 139.7 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.00721, allocations: 3.938 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007222, allocations: 4 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.00723, allocations: 0 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.007285, allocations: 35.91 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.007731, allocations: 0.5756 MB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.00793, allocations: 79.09 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.00797, allocations: 31.66 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.007982, allocations: 3.938 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.008099, allocations: 102.7 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.0081, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000212/0.008312, allocations: 109.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.008344, allocations: 59.41 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.008486, allocations: 243.1 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.0085, allocations: 29.7 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.008573, allocations: 174.7 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.008593, allocations: 27.75 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.00863, allocations: 35.36 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.008751, allocations: 0.5 MB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.008783, allocations: 15.98 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.008829, allocations: 58.42 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.00891, allocations: 86.38 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008912, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001355/0.009047, allocations: 117.4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.009062, allocations: 9.719 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.009067, allocations: 0 / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.009082, allocations: 4 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.009146, allocations: 19.98 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.009156, allocations: 8 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.009191, allocations: 8.062 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.0092, allocations: 15.98 kB / 385.1 MB, free: 11.27 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 7.62e-05/0.009276, allocations: 168.5 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.009294, allocations: 15.91 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.009435, allocations: 107.1 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009437, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.00944, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009444, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.009551, allocations: 164.5 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009552, allocations: 0 / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.009601, allocations: 11.98 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009603, allocations: 8 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.009614, allocations: 4 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009615, allocations: 0 / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.009616, allocations: 0 / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.009799, allocations: 164.7 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.009814, allocations: 15.84 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.00983, allocations: 4 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.64e-05/0.009857, allocations: 4 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.009893, allocations: 11.92 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.009906, allocations: 4 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.022e-05/0.009986, allocations: 179.2 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009986, allocations: 0 / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.01014, allocations: 27.98 kB / 386 MB, free: 10.33 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.0007667/0.01091, allocations: 392.3 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.01103, allocations: 63.47 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01103, allocations: 0 / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.01108, allocations: 39.61 kB / 386.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01126, allocations: 34.42 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.01164, allocations: 254 kB / 386.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01168, allocations: 72.09 kB / 386.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.347e-05/0.01172, allocations: 21.42 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01176, allocations: 24.48 kB / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.01176, allocations: 0 / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Templates: time 0.004208/0.01597, allocations: 2.206 MB / 389 MB, free: 7.359 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.171149692032486]