Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001292/0.001292, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001398/0.001398, allocations: 183.8 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2071/0.2071, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003363/0.3657, allocations: 1.91 MB / 0.5204 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3672, allocations: 0.9207 MB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.3674, allocations: 5.031 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3678, allocations: 38.75 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.3681, allocations: 58.02 kB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3685, allocations: 130.9 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.3687, allocations: 138.6 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3688, allocations: 29.05 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3689, allocations: 56.34 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.369, allocations: 50.66 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3691, allocations: 6.5 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3692, allocations: 49.22 kB / 0.5218 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3693, allocations: 22.8 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.3693, allocations: 54.77 kB / 0.5219 GB, free: 1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3696, allocations: 156.3 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3696, allocations: 0 / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3696, allocations: 3.938 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3696, allocations: 1.188 kB / 0.522 GB, free: 0.9258 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005299/0.3702, allocations: 472.8 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3702, allocations: 9.531 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.3702, allocations: 39.44 kB / 0.5225 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.3703, allocations: 16.25 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3706, allocations: 233.4 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3706, allocations: 7.266 kB / 0.5228 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3706, allocations: 8.969 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3708, allocations: 109.4 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3708, allocations: 0.6562 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3708, allocations: 1.062 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3709, allocations: 6.219 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.371, allocations: 51.39 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.3716, allocations: 0.4957 MB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3719, allocations: 95.62 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.3721, allocations: 37.11 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3721, allocations: 1.156 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.3723, allocations: 86.91 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3723, allocations: 4 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003824/0.3727, allocations: 143.2 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3728, allocations: 52.78 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3729, allocations: 195.5 kB / 0.524 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.373, allocations: 26.73 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.373, allocations: 115 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3731, allocations: 32 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3731, allocations: 31.69 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3732, allocations: 326.5 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.3733, allocations: 25.94 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.3734, allocations: 67.02 kB / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3736, allocations: 100.1 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3736, allocations: 1.125 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.3739, allocations: 143.9 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3739, allocations: 7.141 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.374, allocations: 5.469 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.374, allocations: 5.469 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.3741, allocations: 25.31 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3741, allocations: 3.578 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.3742, allocations: 9.734 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3742, allocations: 5.188 kB / 0.5249 GB, free: 14.48 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: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001031/0.3743, allocations: 133 kB / 0.525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3743, allocations: 13.95 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.3744, allocations: 20.75 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3744, allocations: 5.125 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3744, allocations: 0 / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3744, allocations: 0.7969 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3746, allocations: 205.6 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3746, allocations: 0.6562 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.3747, allocations: 12.28 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3747, allocations: 0.7969 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3747, allocations: 1.438 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.3747, allocations: 6.203 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3747, allocations: 4 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.3751, allocations: 185.6 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.3751, allocations: 89.62 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3752, allocations: 2.016 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.3752, allocations: 14.42 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3753, allocations: 14.16 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3753, allocations: 7.094 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3754, allocations: 138.9 kB / 0.5257 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3754, allocations: 0 / 0.5257 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3757, allocations: 29.14 kB / 0.5257 GB, free: 13.78 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001497/0.3772, allocations: 1.018 MB / 0.5267 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.3775, allocations: 76.88 kB / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3775, allocations: 1.281 kB / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3776, allocations: 40.47 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3779, allocations: 37.5 kB / 0.5269 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3804, allocations: 1.733 MB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.3807, allocations: 0.7144 MB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.3809, allocations: 22.58 kB / 0.5293 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.381, allocations: 43.95 kB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.381, allocations: 1.438 kB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.4084, allocations: 3.826 MB / 0.5331 GB, free: 9.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.833, allocations: 14.83 kB / 0.5331 GB, free: 9.051 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches