Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 204.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 76.05 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.51, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003403/0.5135, allocations: 1.753 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.5156, allocations: 1.022 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.5158, allocations: 5 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.5162, allocations: 90.59 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.5167, allocations: 124.2 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.517, allocations: 79.17 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.5172, allocations: 116.5 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.5174, allocations: 15.27 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.5175, allocations: 55.83 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.5177, allocations: 71.73 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.5177, allocations: 8.594 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.5179, allocations: 58.7 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.518, allocations: 28.09 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.5181, allocations: 37.38 kB / 0.5345 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.5183, allocations: 144.2 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5184, allocations: 0 / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.623e-06/0.5184, allocations: 0 / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.5184, allocations: 3.938 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00074/0.5191, allocations: 450.1 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5192, allocations: 17.56 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.5193, allocations: 14.34 kB / 0.5351 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.5197, allocations: 221 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5197, allocations: 1.75 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.5197, allocations: 10.88 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5199, allocations: 60.78 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5199, allocations: 0 / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.52, allocations: 1.375 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.52, allocations: 0 / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.5201, allocations: 33.66 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.5206, allocations: 300.9 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5209, allocations: 61.39 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.521, allocations: 23.12 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.521, allocations: 3.938 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.5212, allocations: 71.27 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.5212, allocations: 0 / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009335/0.5221, allocations: 247.5 kB / 0.5361 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5222, allocations: 56.62 kB / 0.5361 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.5225, allocations: 235.6 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5225, allocations: 27.92 kB / 0.5364 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.5226, allocations: 121.9 kB / 0.5365 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.5227, allocations: 32.67 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.5227, allocations: 27.19 kB / 0.5365 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5229, allocations: 327.7 kB / 0.5368 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.5229, allocations: 26.25 kB / 0.5369 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.523, allocations: 51.66 kB / 0.5369 GB, free: 8.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5232, allocations: 77.12 kB / 0.537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5232, allocations: 0 / 0.537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002574/0.5235, allocations: 129.9 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5235, allocations: 5.781 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5235, allocations: 1.031 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.5236, allocations: 1 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.5237, allocations: 24.77 kB / 0.5371 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5237, allocations: 6.641 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.5237, allocations: 5.75 kB / 0.5372 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5237, allocations: 7.438 kB / 0.5372 GB, free: 8.629 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.0001311/0.5239, allocations: 138.4 kB / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5239, allocations: 14.81 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.524, allocations: 25.08 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.524, allocations: 1.219 kB / 0.5373 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.524, allocations: 3.938 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.524, allocations: 1.219 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.5246, allocations: 466.8 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5247, allocations: 0 / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.5247, allocations: 16.33 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5247, allocations: 1 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5247, allocations: 3.312 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5247, allocations: 1.344 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5248, allocations: 0 / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.5251, allocations: 247.6 kB / 0.538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.5251, allocations: 88.02 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.5252, allocations: 6.438 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.5253, allocations: 3.031 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.5253, allocations: 12.3 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.5253, allocations: 4.5 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5255, allocations: 177.5 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5255, allocations: 0 / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.5258, allocations: 29.59 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001278/0.5271, allocations: 0.5095 MB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.5273, allocations: 76.88 kB / 0.5389 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5273, allocations: 1.188 kB / 0.5389 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.5274, allocations: 47.64 kB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.5278, allocations: 39.83 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.5284, allocations: 281.6 kB / 0.5393 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.5287, allocations: 0.7153 MB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.209e-05/0.5288, allocations: 24.19 kB / 0.54 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.5289, allocations: 17.62 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5289, allocations: 0 / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of Templates: time 0.00542/0.5343, allocations: 2.014 MB / 0.542 GB, free: 5.273 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches