Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001882/0.001882, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002006/0.002006, allocations: 165.3 kB / 24.27 MB, free: 152 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.4058/0.4058, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.97e-05, allocations: 6.25 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003337/0.003367, allocations: 1.738 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.005497, allocations: 0.9976 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.005569, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.005871, allocations: 39.7 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.00624, allocations: 95.53 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.00648, allocations: 83.55 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.006682, allocations: 107.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.006775, allocations: 8 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.006902, allocations: 59.81 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.006989, allocations: 23.86 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.007011, allocations: 4 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.007124, allocations: 47.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.007186, allocations: 23.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.007237, allocations: 15.94 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.007521, allocations: 115.6 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.007529, allocations: 3.984 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00753, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007536, allocations: 0 / 380.7 MB, free: 15.51 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.0008483/0.008384, allocations: 431.6 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.008433, allocations: 12.03 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.008499, allocations: 12.84 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.00879, allocations: 154.9 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.008808, allocations: 8.375 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.008832, allocations: 4.359 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.008996, allocations: 54.19 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.009019, allocations: 7.922 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.009035, allocations: 4 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.00904, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.009118, allocations: 12 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.009639, allocations: 287.8 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.009843, allocations: 67.09 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.009905, allocations: 23.62 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.009927, allocations: 8 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.01011, allocations: 73.05 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.01011, allocations: 0 / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000622/0.01073, allocations: 185.3 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.01079, allocations: 51.41 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.01103, allocations: 230.5 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.01105, allocations: 25.7 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01117, allocations: 154.9 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.01121, allocations: 27.78 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.01127, allocations: 31.38 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005544/0.01182, allocations: 0.5001 MB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/0.01188, allocations: 19.98 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.01197, allocations: 47.3 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.01212, allocations: 67.38 kB / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01212, allocations: 0 / 383.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.01233, allocations: 105.5 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01235, allocations: 8 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01235, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01237, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.01247, allocations: 12 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.01248, allocations: 12.02 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.01252, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.01253, allocations: 8 kB / 383.3 MB, free: 12.69 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 0.0001435/0.01268, allocations: 168.5 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.0127, allocations: 15.89 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.01297, allocations: 118.4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01297, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01297, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01298, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.01352, allocations: 421 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01353, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.01357, allocations: 8 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01357, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.01358, allocations: 4 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01358, allocations: 384 / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01358, allocations: 0 / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.0139, allocations: 275.4 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.01392, allocations: 7.953 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.01395, allocations: 12 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.01403, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.01409, allocations: 12.02 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.0141, allocations: 4 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.01426, allocations: 179.9 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01426, allocations: 0 / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01452, allocations: 27.92 kB / 384.5 MB, free: 11.37 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.003268/0.01779, allocations: 0.4905 MB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01802, allocations: 71.58 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01802, allocations: 0 / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.01811, allocations: 39.83 kB / 385.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.01847, allocations: 32.08 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.01902, allocations: 222.3 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01913, allocations: 93.56 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.01919, allocations: 12.97 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01923, allocations: 16.5 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01923, allocations: 0 / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of Templates: time 0.005881/0.02511, allocations: 1.864 MB / 387.4 MB, free: 8.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.000703289988451]