Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, 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.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001055, allocations: 98.59 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.3225/0.3225, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.0032/0.3061, allocations: 1.802 MB / 0.5169 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3075, allocations: 1.02 MB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.3076, allocations: 0 / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.308, allocations: 80.34 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.3082, allocations: 102.4 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3085, allocations: 96.8 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3086, allocations: 106.3 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.3087, allocations: 20.59 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.3088, allocations: 51.2 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.3089, allocations: 63.31 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3089, allocations: 0 / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.309, allocations: 38.45 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.3091, allocations: 24.66 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.3092, allocations: 39.89 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.3093, allocations: 122.6 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3094, allocations: 2.438 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3094, allocations: 0 / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3094, allocations: 0 / 0.5186 GB, free: 35.5 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.0004729/0.3099, allocations: 422.8 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3099, allocations: 9.281 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3099, allocations: 23.12 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3101, allocations: 203.1 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3101, allocations: 3.312 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3102, allocations: 8.125 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3103, allocations: 58.88 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3103, allocations: 0 / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3103, allocations: 3.938 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3104, allocations: 0 / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.3104, allocations: 22.72 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.3107, allocations: 295.5 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.3108, allocations: 60.22 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.3109, allocations: 23.69 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3109, allocations: 0 / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.3111, allocations: 72.31 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3111, allocations: 0 / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000459/0.3116, allocations: 179.6 kB / 0.52 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3116, allocations: 54.19 kB / 0.52 GB, free: 34.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3118, allocations: 220.4 kB / 0.5202 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3118, allocations: 29.7 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.3119, allocations: 105 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3119, allocations: 24.83 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.312, allocations: 23.44 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.312, allocations: 332.1 kB / 0.5207 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.3121, allocations: 19.62 kB / 0.5207 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.3121, allocations: 35.41 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3123, allocations: 66.16 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3123, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001681/0.3124, allocations: 95.31 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3125, allocations: 9.781 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3125, allocations: 0 / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3125, allocations: 3.125 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.3126, allocations: 19.86 kB / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3126, allocations: 0 / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.3127, allocations: 10.84 kB / 0.521 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3127, allocations: 6.828 kB / 0.521 GB, free: 33.46 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 9.207e-05/0.3128, allocations: 129.6 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3128, allocations: 13.09 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.3129, allocations: 22.34 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3129, allocations: 0 / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3129, allocations: 2.781 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3129, allocations: 3.938 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.3133, allocations: 396 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3133, allocations: 3.938 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.3133, allocations: 8.75 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3133, allocations: 0 / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3134, allocations: 14.38 kB / 0.5215 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3134, allocations: 3.938 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3134, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.3138, allocations: 0.7871 MB / 0.5223 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.3138, allocations: 91.17 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3139, allocations: 10.94 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.3139, allocations: 384 / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.314, allocations: 9.234 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.314, allocations: 2.938 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3141, allocations: 169.8 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3141, allocations: 0 / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.3145, allocations: 28.72 kB / 0.5226 GB, free: 31.97 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.001054/0.3155, allocations: 464.2 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.3157, allocations: 64.95 kB / 0.5231 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3157, allocations: 0 / 0.5231 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.3158, allocations: 35.28 kB / 0.5231 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3161, allocations: 32.7 kB / 0.5232 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.3166, allocations: 402.1 kB / 0.5236 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3168, allocations: 0.709 MB / 0.5242 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.3169, allocations: 19.23 kB / 0.5243 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3169, allocations: 16.36 kB / 0.5243 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3169, allocations: 0 / 0.5243 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003946/0.3209, allocations: 1.713 MB / 0.5259 GB, free: 30.46 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches