Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001061/0.001061, 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.001066/0.001066, allocations: 162.9 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.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2687/0.2687, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 376.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.383e-05, allocations: 5.969 kB / 376.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002539/0.002563, allocations: 1.758 MB / 377.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003853, allocations: 1.001 MB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.003944, allocations: 0 / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.004246, allocations: 39.72 kB / 378.9 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.004543, allocations: 99.47 kB / 379 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.00471, allocations: 75.61 kB / 379.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.00486, allocations: 107.7 kB / 379.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.004945, allocations: 11.94 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.005024, allocations: 55.83 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.005087, allocations: 27.91 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.005101, allocations: 4 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.005178, allocations: 43.92 kB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.005226, allocations: 23.86 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.005268, allocations: 23.91 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.005428, allocations: 95.66 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00543, allocations: 3.938 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005431, allocations: 0 / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005434, allocations: 4 kB / 379.5 MB, free: 1.473 MB / 346.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.0004177/0.005852, allocations: 435.9 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.005897, allocations: 16.02 kB / 379.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.005942, allocations: 16.81 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.006095, allocations: 152.4 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.006112, allocations: 4.375 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.006128, allocations: 384 / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006243, allocations: 62.94 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.006251, allocations: 3.938 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.00626, allocations: 3.938 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006266, allocations: 4 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.006301, allocations: 15.98 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.006577, allocations: 279.8 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.006672, allocations: 55.16 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.006704, allocations: 23.56 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006716, allocations: 0 / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.808e-05/0.006804, allocations: 65.05 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.006804, allocations: 0 / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003518/0.007156, allocations: 169.3 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.007206, allocations: 55.41 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.007328, allocations: 222.6 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.007341, allocations: 29.7 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.007396, allocations: 150.9 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.007422, allocations: 27.78 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.007455, allocations: 27.38 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.007573, allocations: 0.4962 MB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.007597, allocations: 11.98 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.007632, allocations: 35.31 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.007687, allocations: 55.3 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007688, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.00779, allocations: 93.52 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.007802, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007806, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.007821, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.007893, allocations: 23.98 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007898, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.007926, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.007931, allocations: 0 / 382 MB, free: 14.75 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 7.183e-05/0.008003, allocations: 176.4 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.00802, allocations: 15.94 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.008162, allocations: 99.28 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008165, allocations: 4 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008167, allocations: 3.938 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008172, allocations: 3.984 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.008443, allocations: 389 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008444, allocations: 3.938 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.008468, allocations: 8 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00847, allocations: 4.031 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008479, allocations: 8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008481, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008481, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.008613, allocations: 255.4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.008625, allocations: 15.89 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.008641, allocations: 4 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.008682, allocations: 4 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.008723, allocations: 11.97 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.008737, allocations: 4.375 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.531e-05/0.008832, allocations: 171.8 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008832, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.009008, allocations: 27.92 kB / 383.1 MB, free: 13.48 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.0008949/0.009903, allocations: 437.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.01002, allocations: 47.61 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01002, allocations: 4 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.01007, allocations: 35.61 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.0103, allocations: 27.72 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.01063, allocations: 222.2 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01067, allocations: 67.34 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.0107, allocations: 21.2 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.01073, allocations: 16.5 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01073, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003453/0.01418, allocations: 1.871 MB / 385.9 MB, free: 10.87 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.155752636026591]