Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2602/0.2602, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.88 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5051, allocations: 62.43 MB / 0.5311 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003586/0.5087, allocations: 1.74 MB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.5109, allocations: 1.021 MB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.511, allocations: 1.344 kB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.5115, allocations: 43.23 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.512, allocations: 95.53 kB / 0.5339 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.5122, allocations: 75.14 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.5125, allocations: 108.5 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.5127, allocations: 10.69 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.5128, allocations: 43.28 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.513, allocations: 38.78 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.513, allocations: 3.406 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.5131, allocations: 39.73 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.5133, allocations: 18.73 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.5134, allocations: 32.78 kB / 0.5343 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.5137, allocations: 126.2 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5137, allocations: 1.125 kB / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5137, allocations: 0 / 0.5344 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.5137, allocations: 0 / 0.5344 GB, free: 11.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008348/0.5146, allocations: 432.7 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.412e-05/0.5147, allocations: 8.969 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.5148, allocations: 10.48 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.5153, allocations: 213.5 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5153, allocations: 1.781 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.5153, allocations: 9.469 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5155, allocations: 54.17 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5156, allocations: 9.375 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.5156, allocations: 8 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.5156, allocations: 1.375 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.5157, allocations: 17.61 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.5162, allocations: 282.9 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.5165, allocations: 57.88 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.5165, allocations: 30.41 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.5166, allocations: 0 / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.5168, allocations: 66.52 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.5168, allocations: 0 / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007066/0.5175, allocations: 181.4 kB / 0.5357 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5176, allocations: 52.78 kB / 0.5357 GB, free: 9.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.5178, allocations: 201.8 kB / 0.5359 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5179, allocations: 25.7 kB / 0.536 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.5179, allocations: 101 kB / 0.5361 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.518, allocations: 23.86 kB / 0.5361 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.518, allocations: 28.27 kB / 0.5361 GB, free: 9.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5182, allocations: 327 kB / 0.5364 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.5183, allocations: 23.14 kB / 0.5364 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.493e-05/0.5184, allocations: 42.52 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.5185, allocations: 55.72 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5185, allocations: 0 / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000233/0.5187, allocations: 111.9 kB / 0.5366 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5188, allocations: 5.344 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5188, allocations: 0 / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5188, allocations: 6.094 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.5189, allocations: 12.16 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.5189, allocations: 9.984 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.519, allocations: 5.031 kB / 0.5367 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.519, allocations: 3.219 kB / 0.5367 GB, free: 9.105 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 (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 0.000139/0.5192, allocations: 126.7 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.5192, allocations: 17.83 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.5192, allocations: 14.88 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5193, allocations: 1.25 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5193, allocations: 0 / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5193, allocations: 3.938 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.5198, allocations: 403.5 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5198, allocations: 0 / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.5198, allocations: 8.094 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5198, allocations: 1.281 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5198, allocations: 9.156 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5198, allocations: 1.281 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5199, allocations: 192 / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.5201, allocations: 200.9 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5202, allocations: 92.23 kB / 0.5375 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.5202, allocations: 14.31 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.5203, allocations: 1.125 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.5204, allocations: 7.234 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.5204, allocations: 3.312 kB / 0.5376 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.5205, allocations: 153.5 kB / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5206, allocations: 4 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.5208, allocations: 24.19 kB / 0.5377 GB, free: 8.137 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: 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.001137/0.522, allocations: 462.9 kB / 0.5382 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.5222, allocations: 62.34 kB / 0.5382 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5222, allocations: 0 / 0.5382 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.5223, allocations: 28.98 kB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.5227, allocations: 29.19 kB / 0.5383 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.5233, allocations: 230.6 kB / 0.5385 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.5239, allocations: 0.7075 MB / 0.5392 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.524, allocations: 17.89 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.524, allocations: 15.59 kB / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5241, allocations: 0 / 0.5392 GB, free: 6.934 MB / 398.1 MB Notification: Performance of Templates: time 0.00662/0.5307, allocations: 1.735 MB / 0.5409 GB, free: 6.059 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches