Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001308, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, 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.2541/0.2541, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.89 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5176, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004363/0.522, allocations: 1.741 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.524, allocations: 1.018 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.5241, allocations: 3.938 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.5245, allocations: 38.77 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.5249, allocations: 95.09 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.5252, allocations: 80.28 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.5254, allocations: 101 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.5255, allocations: 14.86 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5257, allocations: 42.91 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.5258, allocations: 38.78 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.5258, allocations: 2.75 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.5259, allocations: 44.8 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.526, allocations: 18.8 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.5261, allocations: 35.98 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.5264, allocations: 118.5 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5264, allocations: 4 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5264, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.5264, allocations: 0 / 0.5344 GB, free: 11.05 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.0008781/0.5273, allocations: 425.2 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.5274, allocations: 8.75 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.5275, allocations: 10.52 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.5279, allocations: 224.7 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.528, allocations: 2.125 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.528, allocations: 6.188 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.5282, allocations: 54.64 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5282, allocations: 4 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5282, allocations: 5.094 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5282, allocations: 0 / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.5283, allocations: 23.2 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.5288, allocations: 290.1 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.529, allocations: 49.97 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.5291, allocations: 29.59 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5291, allocations: 2.188 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.5293, allocations: 68.23 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5293, allocations: 0 / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.53, allocations: 175.1 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.53, allocations: 56.47 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5303, allocations: 200.3 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5303, allocations: 26.8 kB / 0.536 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.5304, allocations: 101.8 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.5304, allocations: 27.25 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.5305, allocations: 24.55 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.5307, allocations: 330.3 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.319e-05/0.5308, allocations: 14.72 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.5309, allocations: 39.58 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.531, allocations: 66.52 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.531, allocations: 1.031 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.5312, allocations: 99.47 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5313, allocations: 9.141 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5313, allocations: 1.406 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5313, allocations: 1.094 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5314, allocations: 25.22 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5314, allocations: 0 / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.5315, allocations: 10.42 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.5315, allocations: 6.766 kB / 0.5367 GB, free: 8.871 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.0001253/0.5316, allocations: 123.2 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.5317, allocations: 13.16 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.5317, allocations: 18.64 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5317, allocations: 1.125 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5318, allocations: 1.25 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5318, allocations: 7.938 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.5323, allocations: 390 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5323, allocations: 1.469 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.5323, allocations: 10.67 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5324, allocations: 5.281 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5324, allocations: 6.5 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5324, allocations: 0 / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5324, allocations: 5.25 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.5327, allocations: 201.4 kB / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.5327, allocations: 91.53 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.5328, allocations: 5.344 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.5329, allocations: 6.688 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.5329, allocations: 2.531 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.5329, allocations: 8.266 kB / 0.5375 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5331, allocations: 152.1 kB / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5331, allocations: 0 / 0.5377 GB, free: 7.922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.5334, allocations: 29.08 kB / 0.5377 GB, free: 7.91 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.001227/0.5346, allocations: 466.3 kB / 0.5382 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5348, allocations: 62.45 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5349, allocations: 0 / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.535, allocations: 29.31 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.5353, allocations: 31.75 kB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.5359, allocations: 226.9 kB / 0.5385 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5364, allocations: 0.7104 MB / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.5364, allocations: 14.84 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.5365, allocations: 19.27 kB / 0.5392 GB, free: 6.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5365, allocations: 0 / 0.5392 GB, free: 6.699 MB / 398.1 MB Notification: Performance of Templates: time 0.006808/0.5433, allocations: 1.731 MB / 0.5409 GB, free: 5.824 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches