Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, 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.365/1.365, 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.001028/0.001028, allocations: 117.1 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3376/0.3376, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3119, allocations: 62.01 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002612/0.3146, allocations: 1.801 MB / 0.5169 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3159, allocations: 1.029 MB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.3159, allocations: 0 / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3162, allocations: 38.69 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.3165, allocations: 78.38 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3167, allocations: 91.66 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3169, allocations: 96.16 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.317, allocations: 16.11 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.3171, allocations: 45.67 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.3172, allocations: 33.84 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3172, allocations: 2.969 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.3173, allocations: 44.25 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.3173, allocations: 16.09 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.3174, allocations: 35.72 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.3176, allocations: 116.3 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3176, allocations: 0 / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3176, allocations: 2.875 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.3176, allocations: 0 / 0.5185 GB, free: 35.53 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.0004682/0.3181, allocations: 414.2 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3181, allocations: 11.44 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3182, allocations: 19.72 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3183, allocations: 207.6 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3184, allocations: 384 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3184, allocations: 10.78 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3185, allocations: 65.64 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3185, allocations: 0 / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3185, allocations: 0 / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3186, allocations: 4 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.3186, allocations: 22.66 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.3189, allocations: 292 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3191, allocations: 60.39 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.3192, allocations: 24.02 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3192, allocations: 2.875 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3193, allocations: 64.81 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3194, allocations: 0 / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004855/0.3198, allocations: 174.1 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3199, allocations: 51.41 kB / 0.5199 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.32, allocations: 196 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3201, allocations: 29.7 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.3201, allocations: 101.2 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3201, allocations: 22.56 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.3202, allocations: 25.77 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.3202, allocations: 329 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.3203, allocations: 18.23 kB / 0.5206 GB, free: 33.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.3204, allocations: 42.62 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.44e-05/0.3205, allocations: 62.03 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3205, allocations: 0 / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001551/0.3206, allocations: 111.5 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3207, allocations: 5.625 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3207, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3207, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.3208, allocations: 14.16 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3208, allocations: 3.641 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.3208, allocations: 11.25 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3208, allocations: 6.797 kB / 0.5208 GB, free: 33.5 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 8.935e-05/0.3209, allocations: 128.3 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.321, allocations: 12.84 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.321, allocations: 19.12 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.321, allocations: 0 / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.321, allocations: 3.938 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.321, allocations: 9.938 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.3214, allocations: 397.2 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3214, allocations: 2.875 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.3214, allocations: 5.75 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3214, allocations: 2.906 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3214, allocations: 3.938 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3214, allocations: 6.141 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3215, allocations: 0 / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3218, allocations: 0.7841 MB / 0.5221 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3219, allocations: 91.02 kB / 0.5222 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3219, allocations: 7.438 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.322, allocations: 0 / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.322, allocations: 7.297 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.322, allocations: 7.969 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.801e-05/0.3221, allocations: 151 kB / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3221, allocations: 0 / 0.5224 GB, free: 32.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.3225, allocations: 27.3 kB / 0.5224 GB, free: 32.02 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.0009656/0.3234, allocations: 462 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.3236, allocations: 57.16 kB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3236, allocations: 0 / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.3237, allocations: 32.84 kB / 0.5229 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.324, allocations: 31.5 kB / 0.523 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3244, allocations: 378.6 kB / 0.5233 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.3246, allocations: 0.7094 MB / 0.524 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.3246, allocations: 17 kB / 0.524 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.3247, allocations: 27.45 kB / 0.5241 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3247, allocations: 0 / 0.5241 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Templates: time 0.004498/0.3292, allocations: 1.701 MB / 0.5257 GB, free: 30.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches