Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001153/0.001153, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001416/0.001416, allocations: 168.4 kB / 25.61 MB, free: 8.902 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.9271/0.9271, allocations: 177.1 MB / 206.1 MB, free: 4.527 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.1378/0.1378, allocations: 32.79 MB / 295.4 MB, free: 15.43 MB / 282.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 377.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.543e-05, allocations: 2.312 kB / 377.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.005118/0.005133, allocations: 1.754 MB / 379.1 MB, free: 23.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.006287, allocations: 0.9936 MB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.006362, allocations: 0 / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.006627, allocations: 31.77 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.006897, allocations: 99.42 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.007072, allocations: 87.59 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.007211, allocations: 107.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.007292, allocations: 11.98 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.007367, allocations: 51.91 kB / 380.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.007431, allocations: 31.89 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.007443, allocations: 4 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.00752, allocations: 39.94 kB / 380.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.007561, allocations: 19.86 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.007591, allocations: 23.91 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.007735, allocations: 99.59 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.007737, allocations: 0 / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007738, allocations: 0 / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.007742, allocations: 0 / 380.7 MB, free: 22.18 MB / 314.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.004383/0.01212, allocations: 432 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01216, allocations: 15.98 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.0122, allocations: 12.84 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.01233, allocations: 155.3 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.01234, allocations: 384 / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.01236, allocations: 4.375 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.01245, allocations: 66.81 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.01246, allocations: 3.938 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.01246, allocations: 4 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.01247, allocations: 0 / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.01249, allocations: 15.97 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.0127, allocations: 260.3 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.01278, allocations: 51.17 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.0128, allocations: 15.67 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.01281, allocations: 0 / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/0.01289, allocations: 68.98 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.01289, allocations: 0 / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002937/0.01318, allocations: 133.5 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.0132, allocations: 55.41 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.01329, allocations: 214.5 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.0133, allocations: 25.7 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.01333, allocations: 154.8 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.01336, allocations: 27.77 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.01339, allocations: 27.38 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.01343, allocations: 0.4923 MB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.01345, allocations: 11.94 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.01348, allocations: 31.34 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.01352, allocations: 51.34 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.01352, allocations: 4 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.2e-05/0.01362, allocations: 81.89 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01363, allocations: 4 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01363, allocations: 0 / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.01364, allocations: 4 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.0137, allocations: 23.98 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.0137, allocations: 160 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.01374, allocations: 4 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01374, allocations: 7.922 kB / 383.1 MB, free: 19.55 MB / 314.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 5.093e-05/0.0138, allocations: 167.7 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.01381, allocations: 19.84 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.01394, allocations: 98.38 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01394, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01394, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01395, allocations: 3.938 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.01417, allocations: 361.6 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01418, allocations: 4 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.0142, allocations: 8 kB / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.0142, allocations: 0 / 383.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01421, allocations: 12.03 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01421, allocations: 0 / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01421, allocations: 0 / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.01433, allocations: 251.7 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.01434, allocations: 11.94 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.01436, allocations: 4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.01441, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.01444, allocations: 11.98 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01445, allocations: 4 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.0145, allocations: 152.7 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0145, allocations: 0 / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003251/0.01775, allocations: 27.94 kB / 384.2 MB, free: 18.36 MB / 314.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.0009296/0.01868, allocations: 440.8 kB / 384.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.01877, allocations: 55.53 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01877, allocations: 0 / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.0188, allocations: 27.67 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.01906, allocations: 36.2 kB / 384.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.01931, allocations: 220.2 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.01934, allocations: 67.2 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.01938, allocations: 20.95 kB / 385.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.01943, allocations: 90.19 kB / 385.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01943, allocations: 0 / 385.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of Templates: time 0.006372/0.02581, allocations: 2.05 MB / 387.2 MB, free: 15.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.286788351368159]