Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, 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.001466/0.001466, 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.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 79.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3976, allocations: 62.43 MB / 0.5306 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003979/0.4016, allocations: 1.98 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.404, allocations: 1.193 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.4043, allocations: 0 / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.4051, allocations: 197.4 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006232/0.4057, allocations: 202.5 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.4062, allocations: 157.3 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.4067, allocations: 278.6 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.4069, allocations: 34.03 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.4072, allocations: 104.9 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.4074, allocations: 117.8 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4074, allocations: 11.12 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.4076, allocations: 59.98 kB / 0.5348 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.4077, allocations: 54.83 kB / 0.5348 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4079, allocations: 90.22 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.4084, allocations: 250.3 kB / 0.5352 GB, free: 9.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4084, allocations: 1.125 kB / 0.5352 GB, free: 9.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4084, allocations: 0 / 0.5352 GB, free: 9.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.4084, allocations: 0 / 0.5352 GB, free: 9.988 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001166/0.4096, allocations: 0.5537 MB / 0.5357 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4096, allocations: 9.219 kB / 0.5357 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.4097, allocations: 33.22 kB / 0.5357 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.4098, allocations: 28.34 kB / 0.5358 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.4103, allocations: 299.6 kB / 0.536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.4103, allocations: 2.562 kB / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4103, allocations: 7.75 kB / 0.5361 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.4106, allocations: 111.3 kB / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4106, allocations: 0 / 0.5362 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.4106, allocations: 9.016 kB / 0.5362 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4107, allocations: 1.375 kB / 0.5362 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.4108, allocations: 32.55 kB / 0.5362 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.4114, allocations: 383.7 kB / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.4118, allocations: 119.5 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.4119, allocations: 40.05 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4119, allocations: 10.58 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.4122, allocations: 110.4 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.4122, allocations: 0 / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005221/0.4127, allocations: 181.1 kB / 0.537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.4128, allocations: 104.8 kB / 0.5371 GB, free: 8.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.4133, allocations: 350.4 kB / 0.5374 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4133, allocations: 31.89 kB / 0.5375 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4135, allocations: 143.7 kB / 0.5376 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.4135, allocations: 32.86 kB / 0.5376 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.4136, allocations: 36.05 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4137, allocations: 342.1 kB / 0.538 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.4138, allocations: 36.83 kB / 0.538 GB, free: 7.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.414, allocations: 77.44 kB / 0.5381 GB, free: 7.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.4142, allocations: 97.77 kB / 0.5382 GB, free: 7.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4142, allocations: 1.062 kB / 0.5382 GB, free: 7.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003351/0.4145, allocations: 144.5 kB / 0.5383 GB, free: 7.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4146, allocations: 9.578 kB / 0.5384 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4146, allocations: 1.062 kB / 0.5384 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4146, allocations: 5.781 kB / 0.5384 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4147, allocations: 21.38 kB / 0.5384 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4148, allocations: 6.484 kB / 0.5384 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4149, allocations: 20.84 kB / 0.5384 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4149, allocations: 4.469 kB / 0.5384 GB, free: 7.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001773/0.4151, allocations: 160.2 kB / 0.5386 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.4151, allocations: 24.34 kB / 0.5386 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.4152, allocations: 28.17 kB / 0.5386 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4152, allocations: 5.141 kB / 0.5386 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4152, allocations: 1.094 kB / 0.5386 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4153, allocations: 5.125 kB / 0.5386 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.4155, allocations: 248.2 kB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4156, allocations: 5.109 kB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.4156, allocations: 9.938 kB / 0.5389 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4156, allocations: 1.219 kB / 0.5389 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4156, allocations: 6.594 kB / 0.5389 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4156, allocations: 5.156 kB / 0.5389 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4156, allocations: 0 / 0.5389 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.416, allocations: 186.7 kB / 0.5391 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.4161, allocations: 99.3 kB / 0.5392 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.4162, allocations: 6.625 kB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.4163, allocations: 11.92 kB / 0.5392 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.4163, allocations: 17.27 kB / 0.5392 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.4164, allocations: 8.625 kB / 0.5392 GB, free: 6.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.4167, allocations: 256.9 kB / 0.5395 GB, free: 6.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4167, allocations: 0 / 0.5395 GB, free: 6.215 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.417, allocations: 33.59 kB / 0.5395 GB, free: 6.211 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001494/0.4185, allocations: 1.029 MB / 0.5405 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.4188, allocations: 92.7 kB / 0.5406 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4188, allocations: 0 / 0.5406 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4189, allocations: 43.48 kB / 0.5406 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4193, allocations: 79.11 kB / 0.5407 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.4226, allocations: 2.33 MB / 0.543 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.423, allocations: 0.746 MB / 0.5437 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.4232, allocations: 41.22 kB / 0.5437 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.4233, allocations: 74.38 kB / 0.5438 GB, free: 2.762 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4233, allocations: 0 / 0.5438 GB, free: 2.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.4515, allocations: 5.869 MB / 0.5495 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.209, allocations: 3.766 kB / 0.5495 GB, free: 14.04 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches