Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0008415/0.0008415, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005118/0.005118, allocations: 162 kB / 24.7 MB, free: 9.426 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.8932/0.8932, allocations: 177.1 MB / 205 MB, free: 5.73 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.2199/0.2199, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.609e-05, allocations: 2.281 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.1453/0.1453, allocations: 1.712 MB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.1462, allocations: 0.9713 MB / 446.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.1463, allocations: 2.656 kB / 446.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.1465, allocations: 43.83 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1467, allocations: 95.5 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.1468, allocations: 79.2 kB / 446.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1469, allocations: 112.3 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.147, allocations: 2.75 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.1471, allocations: 58.84 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.1471, allocations: 28.84 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1472, allocations: 3.438 kB / 446.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.1472, allocations: 44.03 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1473, allocations: 25.38 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1473, allocations: 26.98 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1474, allocations: 113.3 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1474, allocations: 7.422 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1474, allocations: 0 / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1474, allocations: 0 / 446.8 MB, free: 43.02 MB / 410.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.0003135/0.1478, allocations: 343.1 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1478, allocations: 8.844 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1478, allocations: 17.72 kB / 447.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.148, allocations: 153.1 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.148, allocations: 3.312 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.148, allocations: 384 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.1481, allocations: 58.95 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1481, allocations: 3.938 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1481, allocations: 0 / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1481, allocations: 2.812 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.1482, allocations: 28.06 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1484, allocations: 227.5 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.1485, allocations: 58.5 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.1485, allocations: 23.2 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1485, allocations: 0 / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.639e-05/0.1486, allocations: 74.59 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.1486, allocations: 3.625 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003345/0.1489, allocations: 180.5 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.1489, allocations: 54.12 kB / 448.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.149, allocations: 201.3 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.149, allocations: 28.33 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.1491, allocations: 104.7 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.1491, allocations: 25.61 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.1491, allocations: 21.88 kB / 448.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.638e-05/0.1491, allocations: 324.5 kB / 448.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.1492, allocations: 26.27 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.1492, allocations: 38.62 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.868e-05/0.1493, allocations: 67.95 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1493, allocations: 0 / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.185e-05/0.1493, allocations: 105.2 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1494, allocations: 5.625 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1494, allocations: 0 / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1494, allocations: 4.031 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.1494, allocations: 20.73 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1494, allocations: 0 / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1495, allocations: 2.906 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1495, allocations: 2.562 kB / 449 MB, free: 41.25 MB / 410.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 4.95e-05/0.1495, allocations: 132.4 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.1495, allocations: 9.172 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.1496, allocations: 125.5 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1497, allocations: 3.812 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1497, allocations: 4 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1497, allocations: 0 / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1499, allocations: 358.8 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1499, allocations: 0 / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.1499, allocations: 11.02 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1499, allocations: 2.562 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1499, allocations: 4 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1499, allocations: 2.656 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1499, allocations: 3.938 kB / 449.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.15, allocations: 210.4 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.15, allocations: 18.69 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.15, allocations: 3.125 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.15, allocations: 7.312 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1501, allocations: 12.75 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1501, allocations: 2.688 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.663e-05/0.1501, allocations: 156.9 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1501, allocations: 0 / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.1503, allocations: 24.94 kB / 450.1 MB, free: 40.47 MB / 410.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.0006648/0.151, allocations: 0.4968 MB / 450.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1511, allocations: 55.48 kB / 450.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1511, allocations: 0 / 450.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.1511, allocations: 42.28 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1513, allocations: 24.62 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.1516, allocations: 258.3 kB / 451 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.1516, allocations: 90.77 kB / 451 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1516, allocations: 20.23 kB / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1516, allocations: 0 / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of Templates: time 0.002077/0.1537, allocations: 2.005 MB / 453.1 MB, free: 39.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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: 4.6241746712476015]