Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001946/0.001946, allocations: 83.38 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002564/0.002564, allocations: 163.3 kB / 23.96 MB, free: 4.145 MB / 14.72 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.668/1.668, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2244/0.2244, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.155e-05, allocations: 2.281 kB / 442.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003691/0.003723, allocations: 1.727 MB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.006691, allocations: 1.66 MB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.006823, allocations: 7.938 kB / 446.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.007202, allocations: 31.77 kB / 446.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.007707, allocations: 107.5 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.008039, allocations: 79.59 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.008278, allocations: 107.6 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.008393, allocations: 4 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.00854, allocations: 63.81 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.008694, allocations: 35.89 kB / 446.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.00872, allocations: 8 kB / 446.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.008973, allocations: 107.8 kB / 446.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.009048, allocations: 19.92 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.009114, allocations: 19.88 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.009563, allocations: 179.4 kB / 446.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.009567, allocations: 0 / 446.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.009569, allocations: 4 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.00958, allocations: 0 / 446.9 MB, free: 1.152 MB / 366.1 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.0007225/0.0103, allocations: 349.4 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.01035, allocations: 12.03 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.01041, allocations: 8.891 kB / 447.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.0107, allocations: 158.1 kB / 447.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.01072, allocations: 384 / 447.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.01075, allocations: 12.33 kB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.01098, allocations: 97.03 kB / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01099, allocations: 0 / 447.5 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.01101, allocations: 3.984 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.01101, allocations: 0 / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.019e-05/0.0111, allocations: 19.98 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.01154, allocations: 236.5 kB / 447.8 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.01176, allocations: 62.67 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.01183, allocations: 20.84 kB / 447.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.01185, allocations: 4 kB / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2058/0.2177, allocations: 66.55 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.657e-06/0.2177, allocations: 0 / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007224/0.2184, allocations: 168.2 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2184, allocations: 80.73 kB / 448.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2186, allocations: 172.9 kB / 448.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2186, allocations: 30.7 kB / 448.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.2186, allocations: 98.64 kB / 448.5 MB, free: 19.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2187, allocations: 23.25 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2187, allocations: 26.56 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.2188, allocations: 322.4 kB / 448.8 MB, free: 18.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.2188, allocations: 23.44 kB / 448.9 MB, free: 18.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.2189, allocations: 72.75 kB / 448.9 MB, free: 18.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.219, allocations: 62.55 kB / 449 MB, free: 18.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.219, allocations: 8.719 kB / 449 MB, free: 18.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.2192, allocations: 99.05 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2192, allocations: 4.906 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2192, allocations: 8.734 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2193, allocations: 1.797 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.2194, allocations: 18.36 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2194, allocations: 1.062 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.2194, allocations: 4.062 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2194, allocations: 3.312 kB / 449.1 MB, free: 18.62 MB / 366.1 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.179e-05/0.2195, allocations: 134.8 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.2195, allocations: 13.11 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.2198, allocations: 117.5 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2198, allocations: 1.625 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2198, allocations: 0 / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2198, allocations: 0.75 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.2202, allocations: 357.9 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2202, allocations: 1.922 kB / 449.8 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.2202, allocations: 17.91 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2202, allocations: 2.156 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2202, allocations: 3.25 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2202, allocations: 2.312 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2202, allocations: 1.062 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.2204, allocations: 211.8 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.2205, allocations: 13.59 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.2205, allocations: 6.219 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.2206, allocations: 6.891 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2206, allocations: 6.562 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2206, allocations: 3.812 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.69e-05/0.2207, allocations: 142.3 kB / 450.2 MB, free: 17.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2207, allocations: 384 / 450.2 MB, free: 17.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.221, allocations: 47.89 kB / 450.2 MB, free: 17.9 MB / 366.1 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.002069/0.2231, allocations: 0.5976 MB / 450.8 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2233, allocations: 57.08 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2233, allocations: 0 / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.2234, allocations: 37.58 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2238, allocations: 23.64 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.2243, allocations: 208.1 kB / 451.1 MB, free: 17.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.722e-05/0.2243, allocations: 88.45 kB / 451.2 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.2244, allocations: 18.88 kB / 451.2 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.2245, allocations: 25.62 kB / 451.3 MB, free: 17.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2245, allocations: 0 / 451.3 MB, free: 17.43 MB / 366.1 MB Notification: Performance of Templates: time 0.006957/0.2314, allocations: 2.502 MB / 453.8 MB, free: 17.12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.298901811242104]