Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001403/0.001403, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001059/0.001059, allocations: 165 kB / 24.56 MB, free: 16 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 0.9925/0.9925, allocations: 177.1 MB / 205 MB, free: 5.613 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.2695/0.2695, allocations: 34.26 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.107e-05, allocations: 9.625 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003409/0.00344, allocations: 1.75 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.006122, allocations: 1.734 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.006206, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.006526, allocations: 35.77 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.006961, allocations: 107.4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.007206, allocations: 83.59 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.007401, allocations: 115.6 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.007489, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007604, allocations: 59.83 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.007733, allocations: 39.83 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.007756, allocations: 8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.007951, allocations: 99.81 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.008011, allocations: 27.91 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.008054, allocations: 15.94 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.008346, allocations: 163.4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.008348, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008349, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.008354, allocations: 0 / 382.4 MB, free: 14.29 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.00056/0.008914, allocations: 451.8 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.008952, allocations: 8.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.009014, allocations: 12.89 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.009228, allocations: 159.9 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.009247, allocations: 384 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.009271, allocations: 4.375 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.009456, allocations: 115.4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.009468, allocations: 3.953 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.009481, allocations: 3.984 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.00949, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.009539, allocations: 19.86 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.009897, allocations: 283.7 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.01003, allocations: 55.16 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.01007, allocations: 11.69 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.01008, allocations: 4 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.0102, allocations: 72.98 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.0102, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.01069, allocations: 153.7 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.01073, allocations: 81.11 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.01091, allocations: 220.9 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.01093, allocations: 29.7 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.01099, allocations: 142.9 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.01103, allocations: 23.8 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.01107, allocations: 35.36 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01121, allocations: 0.4961 MB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.01124, allocations: 8 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.01131, allocations: 68.75 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.01139, allocations: 55.36 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01139, allocations: 8.031 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.01155, allocations: 93.52 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01156, allocations: 8 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01157, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01158, allocations: 0 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.01167, allocations: 12 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01168, allocations: 7.984 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.01173, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01174, allocations: 4 kB / 385 MB, free: 11.43 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 9.242e-05/0.01183, allocations: 168.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.01186, allocations: 15.95 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.01206, allocations: 98.38 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01207, allocations: 0 / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01207, allocations: 4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01207, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.01246, allocations: 392.9 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01246, allocations: 0 / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.0125, allocations: 15.94 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01251, allocations: 7.938 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01252, allocations: 4.031 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01252, allocations: 0 / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01252, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.01274, allocations: 255.4 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.01276, allocations: 11.94 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.01278, allocations: 8 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.01286, allocations: 0 / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.0129, allocations: 11.92 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01291, allocations: 4 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.01302, allocations: 161.6 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01302, allocations: 0 / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.01334, allocations: 55.86 kB / 386.2 MB, free: 10.14 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.001472/0.01481, allocations: 0.5383 MB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.01497, allocations: 51.59 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01497, allocations: 0 / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.01503, allocations: 43.53 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01537, allocations: 34.5 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.01579, allocations: 210.3 kB / 387 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.01584, allocations: 63.34 kB / 387.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.374e-05/0.0159, allocations: 24.94 kB / 387.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.01595, allocations: 20.48 kB / 387.1 MB, free: 9.309 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01595, allocations: 0 / 387.1 MB, free: 9.309 MB / 362.7 MB Notification: Performance of Templates: time 0.006239/0.02219, allocations: 2.754 MB / 389.9 MB, free: 6.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.212785772047937]