Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.002081/0.002081, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002862/0.002862, 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3823/0.3823, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.001e-05/6.288e-05, allocations: 6.25 kB / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004381/0.004444, allocations: 1.793 MB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.006789, allocations: 1.049 MB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.006893, allocations: 3.938 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.007512, allocations: 303.2 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.008086, allocations: 275 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.008343, allocations: 99.62 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.008723, allocations: 271.2 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.008775, allocations: 9.812 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.009026, allocations: 155.6 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.009357, allocations: 207.6 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.00939, allocations: 11.94 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.009521, allocations: 43.92 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.009719, allocations: 143.6 kB / 379.7 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.009841, allocations: 67.67 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.01037, allocations: 366.7 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01038, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.01038, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.01039, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001312/0.0117, allocations: 0.6747 MB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.01175, allocations: 8.031 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.01188, allocations: 60.5 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.0126, allocations: 397.8 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.01262, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.01264, allocations: 4.359 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.01289, allocations: 87.94 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.0129, allocations: 3.938 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.01292, allocations: 3.984 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01292, allocations: 4 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.01305, allocations: 31.92 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.01348, allocations: 310 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.01381, allocations: 101.2 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01392, allocations: 45.69 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.01394, allocations: 4 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.0142, allocations: 113 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.0142, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005903/0.01479, allocations: 221.1 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.01486, allocations: 77.11 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.01624, allocations: 1.062 MB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.01627, allocations: 29.7 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.01649, allocations: 240.1 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01654, allocations: 27.84 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.01661, allocations: 25.72 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.01684, allocations: 374.8 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.01694, allocations: 31.98 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01706, allocations: 59.41 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01728, allocations: 91.36 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01729, allocations: 4 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003794/0.01766, allocations: 181.8 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01768, allocations: 7.938 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.01769, allocations: 11.86 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.01772, allocations: 4 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01785, allocations: 19.98 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.01786, allocations: 4 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.01798, allocations: 19.88 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.018, allocations: 8 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0002612/0.01826, allocations: 222.4 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.01835, allocations: 59.66 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.0188, allocations: 205.9 kB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.0188, allocations: 0 / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.0188, allocations: 3.938 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01881, allocations: 0 / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.01914, allocations: 273.1 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01915, allocations: 0 / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.01919, allocations: 8 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.0192, allocations: 8 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.01922, allocations: 7.984 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01923, allocations: 3.938 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01923, allocations: 4 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.01966, allocations: 225.5 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.01978, allocations: 71.55 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.01983, allocations: 4 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.01992, allocations: 7.938 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.01997, allocations: 11.98 kB / 385.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.02, allocations: 7.984 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009762/0.02097, allocations: 0.7956 MB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02097, allocations: 0 / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.02126, allocations: 40 kB / 386.3 MB, free: 9.621 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002054/0.02331, allocations: 442.2 kB / 386.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.02362, allocations: 87.83 kB / 386.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02362, allocations: 0 / 386.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.02375, allocations: 43.91 kB / 386.9 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.02422, allocations: 81.16 kB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.02576, allocations: 0.913 MB / 387.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.02605, allocations: 249.6 kB / 388.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.02618, allocations: 59.45 kB / 388.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.02626, allocations: 36.44 kB / 388.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02626, allocations: 0 / 388.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of Templates: time 0.009413/0.03568, allocations: 4.054 MB / 392.3 MB, free: 3.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 5.062174987979233]