Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001079/0.001079, 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.001238/0.001238, allocations: 161.3 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2594/0.2594, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.169e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003126/0.003157, allocations: 1.958 MB / 380.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.004612, allocations: 1.04 MB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.004756, allocations: 0 / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.00511, allocations: 47.58 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.005465, allocations: 107.4 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.005727, allocations: 95.58 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.005952, allocations: 151.5 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.006078, allocations: 17.8 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.006214, allocations: 83.73 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.006328, allocations: 35.83 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.006351, allocations: 8 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.006471, allocations: 47.92 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.006547, allocations: 27.86 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.006617, allocations: 31.91 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.006975, allocations: 135.4 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.00698, allocations: 4 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.006982, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.00699, allocations: 0 / 381.9 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.0007721/0.007762, allocations: 0.4935 MB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.007813, allocations: 8.031 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.00791, allocations: 28.8 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.008197, allocations: 173.1 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.008224, allocations: 4.375 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.008254, allocations: 20.36 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.008474, allocations: 135.7 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.008484, allocations: 3.938 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.008497, allocations: 4 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.008506, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.008566, allocations: 27.92 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.00912, allocations: 0.5872 MB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.009371, allocations: 67.16 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.009417, allocations: 23.69 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.009435, allocations: 4 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.009607, allocations: 110.7 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.009609, allocations: 0 / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002539/0.009863, allocations: 109.5 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.009896, allocations: 51.41 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.01006, allocations: 247.1 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.01008, allocations: 29.7 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.01016, allocations: 162.8 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.01018, allocations: 35.73 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.01022, allocations: 35.38 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01037, allocations: 0.5039 MB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.0104, allocations: 12 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.01046, allocations: 74.34 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.01055, allocations: 74.38 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01056, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001419/0.0107, allocations: 121.5 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01071, allocations: 13.81 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01072, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01073, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.01081, allocations: 27.92 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01081, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.01085, allocations: 7.938 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01086, allocations: 12 kB / 385.1 MB, free: 11.62 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.242e-05/0.01094, allocations: 172.6 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.01096, allocations: 15.91 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.01112, allocations: 103.1 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01112, allocations: 4 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.01113, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01113, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.01126, allocations: 164.5 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01126, allocations: 0 / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.01132, allocations: 19.94 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01132, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01134, allocations: 8 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01134, allocations: 3.984 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01134, allocations: 0 / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01153, allocations: 156.8 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.01155, allocations: 19.83 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01157, allocations: 4 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/0.0116, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.01164, allocations: 11.97 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01165, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.01174, allocations: 171.1 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01174, allocations: 8.031 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.01192, allocations: 24 kB / 385.9 MB, free: 10.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.0009626/0.01288, allocations: 385.4 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.01304, allocations: 67.53 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01305, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.01309, allocations: 31.67 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01332, allocations: 43.91 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.01381, allocations: 254 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.689e-05/0.01386, allocations: 71.83 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.01392, allocations: 17.73 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01396, allocations: 20.5 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01396, allocations: 0 / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of Templates: time 0.00489/0.01885, allocations: 2.067 MB / 388.9 MB, free: 7.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.2836659580934793]