Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000959/0.000959, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9838/0.9838, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2563/0.2563, allocations: 34.87 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.831e-05, allocations: 3.578 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003534/0.003563, allocations: 1.761 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.005484, allocations: 0.9929 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.00559, allocations: 11.94 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.005928, allocations: 31.78 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.006282, allocations: 99.47 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.006515, allocations: 83.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.006697, allocations: 111.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.006789, allocations: 4 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.006907, allocations: 55.83 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.006993, allocations: 27.91 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.007011, allocations: 4 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.007109, allocations: 47.92 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.007166, allocations: 19.86 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.007214, allocations: 19.92 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.007415, allocations: 103.6 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.007417, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.007418, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.007422, allocations: 0 / 382.7 MB, free: 14.34 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.0004869/0.007909, allocations: 439.9 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.00795, allocations: 12.03 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.007991, allocations: 8.891 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.008172, allocations: 158.5 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.00819, allocations: 4.375 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.008218, allocations: 12.36 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.008344, allocations: 54.94 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.008356, allocations: 192 / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.008366, allocations: 8.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008373, allocations: 3.938 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.008412, allocations: 7.984 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.008717, allocations: 256.4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.008822, allocations: 51.11 kB / 383.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.008848, allocations: 15.69 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.008866, allocations: 4 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.008972, allocations: 65.03 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.008973, allocations: 4 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003812/0.009355, allocations: 141.5 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000356/0.009711, allocations: 55.41 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.00986, allocations: 222.5 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.009875, allocations: 29.64 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.009942, allocations: 154.8 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.009976, allocations: 35.72 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.01002, allocations: 23.38 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01017, allocations: 0.5001 MB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.0102, allocations: 11.98 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.01024, allocations: 31.31 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/0.0103, allocations: 43.34 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.0103, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001314/0.01043, allocations: 85.52 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01045, allocations: 8 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01045, allocations: 4.031 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01046, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.01054, allocations: 23.91 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.01054, allocations: 4 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.01058, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.01059, allocations: 4 kB / 385.1 MB, free: 11.68 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 8.992e-05/0.01068, allocations: 164.6 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01071, allocations: 19.83 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.01088, allocations: 99.08 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01089, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01089, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01089, allocations: 3.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.01124, allocations: 353.6 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01125, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.01128, allocations: 12 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01129, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0113, allocations: 3.984 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.0113, allocations: 4 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0113, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.01151, allocations: 255.4 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01152, allocations: 11.98 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01155, allocations: 8 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.01162, allocations: 0 / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01165, allocations: 11.92 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01166, allocations: 7.938 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.01175, allocations: 159.8 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01175, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.01203, allocations: 27.92 kB / 386.2 MB, free: 10.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.001266/0.01329, allocations: 435.1 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01341, allocations: 47.59 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01341, allocations: 0 / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.01346, allocations: 27.66 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.01379, allocations: 39.8 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.01418, allocations: 214.2 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.225e-05/0.01423, allocations: 67.33 kB / 387.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01428, allocations: 21.41 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.01438, allocations: 86.19 kB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01438, allocations: 0 / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of Templates: time 0.004948/0.01933, allocations: 2.042 MB / 389.2 MB, free: 7.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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: 2.9349770420230925]