Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 104.1 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.347/0.347, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3116, allocations: 62.02 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002995/0.3146, allocations: 1.755 MB / 0.5169 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3159, allocations: 1.003 MB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.316, allocations: 4 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3163, allocations: 67.94 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3165, allocations: 88.78 kB / 0.518 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3167, allocations: 87.94 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.3169, allocations: 101.3 kB / 0.5182 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.3169, allocations: 10.22 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.317, allocations: 49.12 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.3171, allocations: 38.72 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3171, allocations: 2.938 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-05/0.3172, allocations: 39.55 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.3172, allocations: 20.48 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3173, allocations: 28.22 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3174, allocations: 106.9 kB / 0.5185 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3174, allocations: 0 / 0.5185 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3174, allocations: 0 / 0.5185 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.3174, allocations: 0 / 0.5185 GB, free: 35.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000409/0.3179, allocations: 407.7 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3179, allocations: 14.86 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3179, allocations: 11.66 kB / 0.5189 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3181, allocations: 211.8 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3181, allocations: 4.312 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3182, allocations: 4.125 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3183, allocations: 56.94 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3183, allocations: 0 / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3183, allocations: 0 / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3183, allocations: 4 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.727e-05/0.3184, allocations: 13.27 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.3185, allocations: 178.1 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3187, allocations: 55.17 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.3187, allocations: 24.02 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3188, allocations: 0 / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3189, allocations: 67.55 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3189, allocations: 0 / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002377/0.3192, allocations: 103 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.3192, allocations: 51.41 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3194, allocations: 191.3 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.3194, allocations: 29.7 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.3194, allocations: 107.2 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3194, allocations: 11.56 kB / 0.5199 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.3195, allocations: 23.38 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.3195, allocations: 328.2 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.3196, allocations: 10.09 kB / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.3196, allocations: 28.53 kB / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.3197, allocations: 51.22 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3197, allocations: 0 / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001249/0.3199, allocations: 87.81 kB / 0.5204 GB, free: 33.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3199, allocations: 5.781 kB / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3199, allocations: 2.906 kB / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3199, allocations: 0 / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.32, allocations: 8.438 kB / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.32, allocations: 3.938 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.32, allocations: 6.219 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.32, allocations: 10.81 kB / 0.5205 GB, free: 33.8 MB / 378.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 (7): * Single equations (assignments): 7 * 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 6.532e-05/0.3201, allocations: 126.8 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3201, allocations: 9.281 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.3202, allocations: 15.66 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3202, allocations: 2.562 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3202, allocations: 0 / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3202, allocations: 0 / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.646e-05/0.3203, allocations: 195.5 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3203, allocations: 3.984 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.3203, allocations: 2.875 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3203, allocations: 4 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3203, allocations: 0 / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3204, allocations: 2.938 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3204, allocations: 0 / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3207, allocations: 0.6831 MB / 0.5215 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3207, allocations: 84.02 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3207, allocations: 11.09 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.3208, allocations: 0 / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3208, allocations: 10.38 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3208, allocations: 6.906 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.101e-05/0.3209, allocations: 148 kB / 0.5217 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3209, allocations: 0 / 0.5217 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.3212, allocations: 21.41 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007684/0.322, allocations: 422.2 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.3221, allocations: 33.97 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3222, allocations: 0 / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.3222, allocations: 23.06 kB / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3225, allocations: 34.08 kB / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3228, allocations: 330.4 kB / 0.5226 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3229, allocations: 0.706 MB / 0.5233 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.323, allocations: 13.88 kB / 0.5233 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.323, allocations: 13.41 kB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.323, allocations: 4 kB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Templates: time 0.0036/0.3266, allocations: 1.476 MB / 0.5247 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches