Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, 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.276/1.276, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 105.7 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3387/0.3387, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 79.8 kB / 465.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3118, allocations: 62 MB / 0.5152 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002847/0.3147, allocations: 1.802 MB / 0.5169 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3159, allocations: 1.021 MB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.316, allocations: 0 / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3163, allocations: 36.86 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.3165, allocations: 77.88 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.3167, allocations: 92.92 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3169, allocations: 101.6 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.317, allocations: 13.83 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.3171, allocations: 40.36 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.3171, allocations: 31.61 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3172, allocations: 6.656 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.3172, allocations: 45.69 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3173, allocations: 16.95 kB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3173, allocations: 28.47 kB / 0.5184 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3175, allocations: 107.9 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3175, allocations: 0 / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3175, allocations: 0 / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.3175, allocations: 6.531 kB / 0.5185 GB, free: 35.45 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004526/0.318, allocations: 403.8 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.318, allocations: 8.875 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3181, allocations: 14.56 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3183, allocations: 213.5 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3183, allocations: 384 / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3183, allocations: 6.844 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3185, allocations: 59.06 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3185, allocations: 4 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3185, allocations: 2.344 kB / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3185, allocations: 0 / 0.5192 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.3186, allocations: 22.5 kB / 0.5192 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.3189, allocations: 286.5 kB / 0.5195 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.3191, allocations: 55.17 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.3191, allocations: 20.84 kB / 0.5195 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3191, allocations: 3.984 kB / 0.5195 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.3193, allocations: 74.22 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3193, allocations: 0 / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.3198, allocations: 173 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3199, allocations: 59.34 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.32, allocations: 171.2 kB / 0.52 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.32, allocations: 25.7 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.32, allocations: 105.2 kB / 0.5201 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3201, allocations: 22.59 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3201, allocations: 25.73 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.3202, allocations: 329 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.3202, allocations: 16.16 kB / 0.5205 GB, free: 33.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.3203, allocations: 39.19 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.3204, allocations: 62.58 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3204, allocations: 0 / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001483/0.3205, allocations: 94.58 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3206, allocations: 4.625 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3206, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3206, allocations: 3.031 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.3207, allocations: 25.09 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3207, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.3207, allocations: 14.66 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3208, allocations: 6.688 kB / 0.5207 GB, free: 33.44 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 (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 6.27e-05/0.3208, allocations: 124.2 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3208, allocations: 9.594 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.3209, allocations: 15.66 kB / 0.5209 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3209, allocations: 2.875 kB / 0.5209 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3209, allocations: 4 kB / 0.5209 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3209, allocations: 7.125 kB / 0.5209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.3212, allocations: 388.6 kB / 0.5213 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3212, allocations: 0 / 0.5213 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.3213, allocations: 11.59 kB / 0.5213 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3213, allocations: 0 / 0.5213 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3213, allocations: 10.88 kB / 0.5213 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3213, allocations: 4.172 kB / 0.5213 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3213, allocations: 4.031 kB / 0.5213 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3217, allocations: 0.7831 MB / 0.5221 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3217, allocations: 83.86 kB / 0.5221 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3217, allocations: 4 kB / 0.5221 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.3218, allocations: 6.109 kB / 0.5221 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3218, allocations: 6.812 kB / 0.5222 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3218, allocations: 6.344 kB / 0.5222 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.767e-05/0.3219, allocations: 126.8 kB / 0.5223 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 2.844 kB / 0.5223 GB, free: 31.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.3223, allocations: 25.91 kB / 0.5223 GB, free: 31.96 MB / 378.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 (8): * Single equations (assignments): 6 * 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.000902/0.3232, allocations: 460.5 kB / 0.5227 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3233, allocations: 60.64 kB / 0.5228 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3234, allocations: 0 / 0.5228 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.3234, allocations: 35.34 kB / 0.5228 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3238, allocations: 26.17 kB / 0.5229 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3242, allocations: 353.6 kB / 0.5232 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.3244, allocations: 0.7064 MB / 0.5239 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.3245, allocations: 17.03 kB / 0.5239 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.3245, allocations: 18.7 kB / 0.5239 GB, free: 30.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3245, allocations: 0 / 0.5239 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003693/0.3282, allocations: 1.697 MB / 0.5256 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches