Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001753/0.001753, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001807/0.001807, allocations: 161 kB / 24.56 MB, free: 8 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 0.9687/0.9687, allocations: 177.1 MB / 205 MB, free: 5.621 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.3138/0.3138, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.886e-05, allocations: 2.312 kB / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00217/0.002189, allocations: 1.782 MB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003396, allocations: 1.02 MB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.003475, allocations: 4 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.003784, allocations: 99.61 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.004115, allocations: 127.5 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.004299, allocations: 95.47 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.004466, allocations: 135.6 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.004546, allocations: 4 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.004632, allocations: 79.73 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.004725, allocations: 63.86 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.00474, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.004837, allocations: 63.91 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004888, allocations: 35.84 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.004926, allocations: 23.94 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005114, allocations: 139.4 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005116, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005117, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005121, allocations: 0 / 381.8 MB, free: 14.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005249/0.005646, allocations: 487.5 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.00568, allocations: 8.031 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.005732, allocations: 24.84 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.005898, allocations: 161.3 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.005917, allocations: 4.375 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.005936, allocations: 8.375 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006053, allocations: 74.86 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006064, allocations: 3.938 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.006074, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.006081, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.006131, allocations: 23.97 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.006453, allocations: 315.6 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.006632, allocations: 70.97 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.006667, allocations: 23.66 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.006679, allocations: 8 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.006846, allocations: 81.22 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.006848, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005378/0.007386, allocations: 245.6 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.007417, allocations: 51.41 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.007568, allocations: 270.8 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007581, allocations: 29.7 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.007639, allocations: 166.8 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.007672, allocations: 43.62 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.007707, allocations: 39.38 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.007818, allocations: 0.5039 MB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.007851, allocations: 27.98 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.007896, allocations: 43.36 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.00797, allocations: 67.3 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007971, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001374/0.008108, allocations: 129.5 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.00812, allocations: 4 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008125, allocations: 7.984 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008138, allocations: 4.031 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.008203, allocations: 20 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.008208, allocations: 0 / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.008234, allocations: 3.984 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.008243, allocations: 8 kB / 384.7 MB, free: 11.71 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 (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.0002164/0.008459, allocations: 168.5 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.008481, allocations: 23.86 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.008661, allocations: 139.1 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008663, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.008666, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00867, allocations: 7.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.009023, allocations: 476.5 kB / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009025, allocations: 0 / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.009068, allocations: 16 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.009072, allocations: 0 / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.009082, allocations: 8 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.009085, allocations: 3.984 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.009087, allocations: 3.938 kB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.009263, allocations: 299.1 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.00928, allocations: 23.97 kB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009298, allocations: 3.984 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.009341, allocations: 8 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.009375, allocations: 11.92 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.009389, allocations: 4 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.036e-05/0.009479, allocations: 197.4 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009479, allocations: 0 / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.009658, allocations: 35.92 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001015/0.01067, allocations: 492.7 kB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01082, allocations: 79.52 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01082, allocations: 0 / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.01087, allocations: 43.61 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.0111, allocations: 38.81 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.01146, allocations: 301.9 kB / 387 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.0115, allocations: 75.81 kB / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.111e-05/0.01154, allocations: 25.12 kB / 387.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.01158, allocations: 20.5 kB / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01158, allocations: 0 / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of Templates: time 0.004687/0.01627, allocations: 2.432 MB / 389.6 MB, free: 6.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.2042430131696165]