Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, 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.2175/0.2175, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 79.86 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.422, allocations: 62.45 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003235/0.4253, allocations: 1.731 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4272, allocations: 1.017 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.462e-05/0.4273, allocations: 1.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.4277, allocations: 42.77 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.428, allocations: 99.03 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.4282, allocations: 70.98 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4284, allocations: 110.2 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4286, allocations: 14.86 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4287, allocations: 42.91 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.4288, allocations: 30.8 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.4288, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.4289, allocations: 43.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.429, allocations: 22.78 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.429, allocations: 35.98 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4293, allocations: 122 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4293, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4293, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.4293, allocations: 5.375 kB / 0.5344 GB, free: 11.04 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.0006632/0.43, allocations: 414.7 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4301, allocations: 9.188 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.4301, allocations: 10.34 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.4304, allocations: 216.1 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4304, allocations: 2.438 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4305, allocations: 5.844 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4306, allocations: 58.02 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4307, allocations: 9.25 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4307, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4307, allocations: 1.406 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.4308, allocations: 18.36 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.4312, allocations: 290.3 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4314, allocations: 66.34 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.4314, allocations: 21.81 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4315, allocations: 4 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4316, allocations: 61.73 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4316, allocations: 0 / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000577/0.4322, allocations: 174.9 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4323, allocations: 56.34 kB / 0.5357 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4325, allocations: 192.8 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4325, allocations: 30.8 kB / 0.536 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.4326, allocations: 96.55 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4326, allocations: 36.09 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.4327, allocations: 20.5 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4328, allocations: 334.2 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.4329, allocations: 14.16 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.433, allocations: 43.64 kB / 0.5365 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4331, allocations: 67.33 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4331, allocations: 0 / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.4333, allocations: 99.88 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4333, allocations: 5.25 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4333, allocations: 0.9375 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4334, allocations: 1.219 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.4335, allocations: 29.14 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4335, allocations: 1.344 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4335, allocations: 4.938 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.4335, allocations: 4 kB / 0.5367 GB, free: 8.883 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.0001111/0.4337, allocations: 131 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.4337, allocations: 9.438 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.4337, allocations: 18.14 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4338, allocations: 1.906 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4338, allocations: 4 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.4338, allocations: 3.938 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.4343, allocations: 394.2 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4343, allocations: 1.188 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.4343, allocations: 10.86 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4344, allocations: 1.281 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4344, allocations: 5.188 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4344, allocations: 1.062 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4344, allocations: 1.156 kB / 0.5372 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.4346, allocations: 200.6 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.4347, allocations: 91.55 kB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4347, allocations: 10.45 kB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4348, allocations: 5.188 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.4349, allocations: 3.875 kB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.4349, allocations: 10.89 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.435, allocations: 148.8 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4351, allocations: 0 / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4353, allocations: 29.45 kB / 0.5377 GB, free: 7.918 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.00116/0.4365, allocations: 459 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4367, allocations: 65.48 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4367, allocations: 1.031 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.4368, allocations: 25.34 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.4372, allocations: 35.36 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.4378, allocations: 235.3 kB / 0.5385 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.4381, allocations: 0.7107 MB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.4382, allocations: 9.734 kB / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.4383, allocations: 19.98 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4383, allocations: 0 / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Templates: time 0.005155/0.4434, allocations: 1.761 MB / 0.5409 GB, free: 5.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches