Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 83.86 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.5973, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004662/0.602, allocations: 1.835 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.6053, allocations: 1.692 MB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.6055, allocations: 1.375 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.6059, allocations: 54.81 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007059/0.6066, allocations: 137.7 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.6071, allocations: 101.8 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.6076, allocations: 211.6 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.6077, allocations: 13.81 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.6079, allocations: 81.81 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.6082, allocations: 90.95 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.6083, allocations: 9.188 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.6086, allocations: 115.4 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.6087, allocations: 35.7 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.6088, allocations: 63.3 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.6093, allocations: 226 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6093, allocations: 1.125 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6093, allocations: 0 / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.6093, allocations: 4 kB / 0.5356 GB, free: 10.1 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.0007846/0.6101, allocations: 496.3 kB / 0.5361 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6102, allocations: 10.31 kB / 0.5361 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.6103, allocations: 20.41 kB / 0.5361 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.6107, allocations: 258.6 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6107, allocations: 5.875 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.6108, allocations: 6.906 kB / 0.5363 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.611, allocations: 104.3 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.611, allocations: 0 / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.611, allocations: 0.9688 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6111, allocations: 1.062 kB / 0.5365 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.6112, allocations: 40.7 kB / 0.5365 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.6115, allocations: 229.5 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.6118, allocations: 101.5 kB / 0.5368 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.6119, allocations: 41.23 kB / 0.5368 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.6119, allocations: 5.438 kB / 0.5368 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.6122, allocations: 104.6 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.6122, allocations: 0 / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005183/0.6127, allocations: 168.8 kB / 0.5371 GB, free: 8.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.6128, allocations: 133.8 kB / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.6131, allocations: 243 kB / 0.5375 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.6132, allocations: 31.98 kB / 0.5375 GB, free: 8.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.6132, allocations: 115.5 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.6133, allocations: 28.08 kB / 0.5376 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.6134, allocations: 27.41 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6135, allocations: 331.6 kB / 0.538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.6136, allocations: 26.86 kB / 0.538 GB, free: 7.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.6137, allocations: 70.02 kB / 0.5381 GB, free: 7.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.6139, allocations: 91 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6139, allocations: 0 / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002982/0.6142, allocations: 146.1 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6143, allocations: 5.781 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6143, allocations: 1.188 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6143, allocations: 2.219 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6144, allocations: 25.05 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.6145, allocations: 1.188 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.6146, allocations: 17.45 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6146, allocations: 8.406 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001285/0.6147, allocations: 133.1 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.6148, allocations: 20.34 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.6148, allocations: 23.8 kB / 0.5385 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6149, allocations: 1.031 kB / 0.5385 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.6149, allocations: 1.094 kB / 0.5385 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6149, allocations: 3.938 kB / 0.5385 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.6151, allocations: 228.4 kB / 0.5387 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6151, allocations: 0 / 0.5387 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.6152, allocations: 6.562 kB / 0.5388 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6152, allocations: 1.062 kB / 0.5388 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6152, allocations: 6.062 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6152, allocations: 1.094 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6152, allocations: 5.078 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.6155, allocations: 170.9 kB / 0.5389 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.6156, allocations: 93.7 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.6157, allocations: 10.73 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.6157, allocations: 7.062 kB / 0.539 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.6158, allocations: 8.453 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.6158, allocations: 8.344 kB / 0.5391 GB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.616, allocations: 174.8 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.616, allocations: 0 / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000321/0.6164, allocations: 61.27 kB / 0.5393 GB, free: 6.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001247/0.6176, allocations: 0.5019 MB / 0.5398 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.6179, allocations: 78.16 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6179, allocations: 1.75 kB / 0.5398 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.618, allocations: 42.5 kB / 0.5399 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.6184, allocations: 59.88 kB / 0.5399 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.6191, allocations: 280.5 kB / 0.5402 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6195, allocations: 0.7223 MB / 0.5409 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.6196, allocations: 27.22 kB / 0.5409 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.6196, allocations: 30.58 kB / 0.541 GB, free: 5.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.6197, allocations: 0 / 0.541 GB, free: 5.43 MB / 398.1 MB Notification: Performance of Templates: time 0.007378/0.627, allocations: 3.128 MB / 0.544 GB, free: 3.836 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches