Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 106.4 kB / 17.77 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001816, allocations: 187.9 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3524, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00354/0.3559, allocations: 2.004 MB / 0.5204 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3577, allocations: 0.9609 MB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.3579, allocations: 4.906 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3582, allocations: 49.59 kB / 0.5214 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3586, allocations: 77.06 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.3591, allocations: 142.6 kB / 0.5216 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.3594, allocations: 211.8 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3596, allocations: 22.83 kB / 0.5219 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3598, allocations: 90.62 kB / 0.522 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3599, allocations: 73.22 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.36, allocations: 11.44 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3601, allocations: 46.61 kB / 0.5221 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.3602, allocations: 40.73 kB / 0.5221 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.3603, allocations: 73.75 kB / 0.5222 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.3607, allocations: 199.1 kB / 0.5224 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3607, allocations: 0 / 0.5224 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3607, allocations: 1.031 kB / 0.5224 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3608, allocations: 0 / 0.5224 GB, free: 0.7109 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009525/0.3617, allocations: 0.5513 MB / 0.5229 GB, free: 208 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3618, allocations: 10.59 kB / 0.5229 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.3618, allocations: 43.17 kB / 0.523 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.3619, allocations: 17.69 kB / 0.523 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3623, allocations: 247.7 kB / 0.5232 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3624, allocations: 8.719 kB / 0.5232 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.3624, allocations: 13.69 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.3629, allocations: 150.5 kB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3629, allocations: 0 / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.3629, allocations: 6.25 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3629, allocations: 1.312 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.3634, allocations: 113.5 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.3642, allocations: 0.5405 MB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.3649, allocations: 166.2 kB / 0.5242 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.3652, allocations: 77.47 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3652, allocations: 1.953 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.3656, allocations: 129.9 kB / 0.5244 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.3657, allocations: 0 / 0.5244 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009662/0.3666, allocations: 266.4 kB / 0.5246 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3667, allocations: 54 kB / 0.5247 GB, free: 14.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.367, allocations: 225.9 kB / 0.5249 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.367, allocations: 30.64 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3671, allocations: 127 kB / 0.5251 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3672, allocations: 46.98 kB / 0.5251 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.3673, allocations: 32.78 kB / 0.5251 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3674, allocations: 329.8 kB / 0.5254 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.3677, allocations: 68.88 kB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.368, allocations: 104.2 kB / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.3685, allocations: 199.1 kB / 0.5258 GB, free: 14.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3685, allocations: 3.938 kB / 0.5258 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006918/0.3692, allocations: 249 kB / 0.526 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.3693, allocations: 35.39 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3693, allocations: 5.812 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3693, allocations: 6.078 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3695, allocations: 41.77 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3695, allocations: 2.484 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.3698, allocations: 32.17 kB / 0.5262 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3698, allocations: 10.94 kB / 0.5262 GB, free: 13.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001385/0.3699, allocations: 130.4 kB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.37, allocations: 25.52 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.37, allocations: 21.05 kB / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.3701, allocations: 6.266 kB / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3701, allocations: 0 / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3701, allocations: 0.6562 kB / 0.5263 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3704, allocations: 236 kB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3704, allocations: 0 / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3705, allocations: 27.31 kB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3705, allocations: 0 / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3706, allocations: 7.75 kB / 0.5266 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3706, allocations: 7.922 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3706, allocations: 0.75 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.3715, allocations: 304 kB / 0.5269 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.3715, allocations: 91.55 kB / 0.527 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3716, allocations: 6.641 kB / 0.527 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3718, allocations: 22.86 kB / 0.527 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.3718, allocations: 16.36 kB / 0.527 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.3719, allocations: 8.875 kB / 0.527 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.372, allocations: 159.9 kB / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3721, allocations: 0 / 0.5272 GB, free: 13.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3723, allocations: 46.33 kB / 0.5272 GB, free: 13.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002007/0.3744, allocations: 1.143 MB / 0.5284 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.375, allocations: 212.7 kB / 0.5286 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.375, allocations: 1.375 kB / 0.5286 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.3753, allocations: 80.22 kB / 0.5286 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3756, allocations: 52.16 kB / 0.5287 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.379, allocations: 2.159 MB / 0.5308 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3793, allocations: 0.7254 MB / 0.5315 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.3795, allocations: 21.48 kB / 0.5315 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3796, allocations: 54.06 kB / 0.5316 GB, free: 9.723 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3796, allocations: 0 / 0.5316 GB, free: 9.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.4064, allocations: 5.054 MB / 0.5365 GB, free: 7.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.01, allocations: 8.938 kB / 0.5365 GB, free: 7.059 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches