Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, 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.341/1.341, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 98.16 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3655/0.3655, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3039, allocations: 62.02 MB / 0.5152 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002703/0.3066, allocations: 1.763 MB / 0.5169 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3079, allocations: 1.004 MB / 0.5179 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.308, allocations: 0 / 0.5179 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3083, allocations: 62.09 kB / 0.5179 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.3085, allocations: 91.12 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.3088, allocations: 90.27 kB / 0.5181 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.3089, allocations: 105.1 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.309, allocations: 9.203 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.309, allocations: 46.14 kB / 0.5182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.3091, allocations: 38.56 kB / 0.5183 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3091, allocations: 3 kB / 0.5183 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.3092, allocations: 32.61 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.3093, allocations: 23.73 kB / 0.5183 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.3093, allocations: 35.89 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3095, allocations: 95.53 kB / 0.5185 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3095, allocations: 10.44 kB / 0.5185 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3095, allocations: 3.938 kB / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.3095, allocations: 0 / 0.5185 GB, free: 35.66 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.000458/0.31, allocations: 405 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.31, allocations: 10.34 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.31, allocations: 11.69 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3102, allocations: 213 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3103, allocations: 3.281 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3103, allocations: 15.44 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3104, allocations: 47.83 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3104, allocations: 0 / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3105, allocations: 0 / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3105, allocations: 0 / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/0.3105, allocations: 15.67 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3107, allocations: 181.6 kB / 0.5193 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3109, allocations: 53.58 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.3109, allocations: 24.62 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.311, allocations: 0 / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.3112, allocations: 66.56 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3112, allocations: 0 / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002816/0.3115, allocations: 95 kB / 0.5196 GB, free: 34.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3115, allocations: 59.34 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3117, allocations: 194.1 kB / 0.5198 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3117, allocations: 28.64 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.3118, allocations: 98.22 kB / 0.5199 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3118, allocations: 18.28 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3118, allocations: 23.53 kB / 0.52 GB, free: 34.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.3119, allocations: 321.2 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.312, allocations: 17 kB / 0.5203 GB, free: 33.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.312, allocations: 28.53 kB / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.3121, allocations: 41.27 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3121, allocations: 2.656 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.3123, allocations: 94.66 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3123, allocations: 5.625 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3123, allocations: 0 / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3123, allocations: 4.031 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.3124, allocations: 15.97 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3124, allocations: 6.688 kB / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.3125, allocations: 0 / 0.5205 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3125, allocations: 2.875 kB / 0.5205 GB, free: 33.81 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 7.843e-05/0.3126, allocations: 126.5 kB / 0.5206 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.3126, allocations: 13.75 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3126, allocations: 17.95 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3126, allocations: 3.938 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3126, allocations: 4 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3126, allocations: 0 / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.969e-05/0.3128, allocations: 191.2 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3128, allocations: 0 / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3128, allocations: 5.781 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3128, allocations: 0 / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3128, allocations: 2.844 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3128, allocations: 0 / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3128, allocations: 0 / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.3131, allocations: 0.6859 MB / 0.5215 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.3132, allocations: 87.73 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3132, allocations: 4 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.3132, allocations: 2.875 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3133, allocations: 0 / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3133, allocations: 10.45 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.3134, allocations: 150.1 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3134, allocations: 4 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00032/0.3137, allocations: 21.62 kB / 0.5218 GB, free: 32.57 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.0008275/0.3145, allocations: 413.8 kB / 0.5222 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3147, allocations: 33.98 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3147, allocations: 0 / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3148, allocations: 26.75 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.0002602/0.315, allocations: 34.88 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.0003896/0.3154, allocations: 329.2 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3156, allocations: 0.7035 MB / 0.5233 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.59e-05/0.3156, allocations: 13.92 kB / 0.5233 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3156, allocations: 16.55 kB / 0.5233 GB, free: 31.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3157, allocations: 0 / 0.5233 GB, free: 31.33 MB / 378.7 MB Notification: Performance of Templates: time 0.00331/0.319, allocations: 1.479 MB / 0.5247 GB, free: 31.15 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches