Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001448/0.001448, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001666/0.001666, allocations: 161.7 kB / 24.27 MB, free: 168 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.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.37/0.37, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 377.4 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.874e-05, allocations: 2.312 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003856/0.003885, allocations: 1.72 MB / 379.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.006003, allocations: 0.9741 MB / 380.1 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.006083, allocations: 4 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.006418, allocations: 43.64 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.0068, allocations: 103.5 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.007043, allocations: 75.67 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.007254, allocations: 111.6 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.007347, allocations: 7.984 kB / 380.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.007476, allocations: 51.89 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.007562, allocations: 27.86 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.007586, allocations: 4 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.007695, allocations: 51.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.00776, allocations: 19.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.007814, allocations: 19.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.008058, allocations: 115.6 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008061, allocations: 0 / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008062, allocations: 0 / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.008067, allocations: 3.938 kB / 380.7 MB, free: 15.56 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000658/0.008725, allocations: 345.6 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.008766, allocations: 8.031 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.008831, allocations: 16.84 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.009165, allocations: 154.2 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.009184, allocations: 4.375 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.00921, allocations: 384 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.009392, allocations: 58.23 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.009406, allocations: 7.938 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.009421, allocations: 3.984 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.009426, allocations: 0 / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.009514, allocations: 23.98 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.009931, allocations: 240.4 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.01013, allocations: 54.69 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.01019, allocations: 24.78 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.01021, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.0104, allocations: 75.33 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.0104, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006575/0.01106, allocations: 181.4 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.01111, allocations: 51.41 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.01137, allocations: 206.7 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.0114, allocations: 25.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.01149, allocations: 108.1 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.01152, allocations: 23.8 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.01158, allocations: 25.7 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.01176, allocations: 330.8 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.01183, allocations: 20 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.01191, allocations: 38.08 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.01205, allocations: 65.58 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01205, allocations: 0 / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002364/0.01229, allocations: 117.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.0123, allocations: 4 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01231, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01232, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01243, allocations: 27.95 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01243, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.01248, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01249, allocations: 4 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000134/0.01262, allocations: 133.8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.01265, allocations: 11.91 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.01294, allocations: 127.1 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01294, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01294, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01295, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.01348, allocations: 358.9 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01348, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.01352, allocations: 8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01352, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.01354, allocations: 7.984 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01354, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01354, allocations: 3.938 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.01385, allocations: 220.2 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01388, allocations: 11.91 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.0139, allocations: 8.016 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01398, allocations: 4 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.01402, allocations: 7.984 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01404, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.0142, allocations: 156.2 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01421, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.01448, allocations: 23.94 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.002246/0.01672, allocations: 498.1 kB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01694, allocations: 63.91 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01694, allocations: 0 / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.01704, allocations: 27.92 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01741, allocations: 40.27 kB / 384.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.01796, allocations: 233.7 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.01834, allocations: 100.3 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.01839, allocations: 8.984 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.01844, allocations: 20.48 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01844, allocations: 0 / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005831/0.02427, allocations: 1.859 MB / 386.8 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.775295855943114]