Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 118.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, 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.212/0.212, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 76.09 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4048, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003082/0.408, allocations: 1.734 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.4104, allocations: 1.633 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.4105, allocations: 1.375 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.4108, allocations: 37.33 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.4112, allocations: 104.4 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.4114, allocations: 78.97 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.4116, allocations: 109.1 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4117, allocations: 10.88 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.4118, allocations: 51.02 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.4119, allocations: 50.89 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.412, allocations: 6.875 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.4122, allocations: 111 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.4122, allocations: 21.42 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.4123, allocations: 41.36 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.4126, allocations: 179.8 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4126, allocations: 0 / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4126, allocations: 1.375 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4126, allocations: 0 / 0.5346 GB, free: 10.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005889/0.4132, allocations: 441.2 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4132, allocations: 9.625 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.4133, allocations: 36.11 kB / 0.5351 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.4133, allocations: 8.938 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.4136, allocations: 210.5 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4137, allocations: 1.812 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4137, allocations: 13.34 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.4139, allocations: 85.78 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4139, allocations: 0 / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4139, allocations: 0.8438 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4139, allocations: 1.031 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.414, allocations: 35.36 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.4145, allocations: 293.4 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4147, allocations: 78.11 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.4148, allocations: 23.5 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4148, allocations: 1.281 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.415, allocations: 71.67 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.415, allocations: 0 / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006199/0.4156, allocations: 200.2 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.4157, allocations: 82.3 kB / 0.5362 GB, free: 8.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4159, allocations: 178.6 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4159, allocations: 26.83 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.416, allocations: 96.61 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.4161, allocations: 28.42 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.4161, allocations: 33.52 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4163, allocations: 326.3 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.4163, allocations: 20.59 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.4164, allocations: 55.58 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4166, allocations: 64.72 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4166, allocations: 0 / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.4168, allocations: 122.6 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4168, allocations: 5.75 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4169, allocations: 0 / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4169, allocations: 9.344 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.417, allocations: 22.55 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.417, allocations: 1.344 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.4171, allocations: 6.531 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.4171, allocations: 3 kB / 0.5371 GB, free: 7.918 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 (11): * Single equations (assignments): 11 * 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.0001135/0.4172, allocations: 127.8 kB / 0.5372 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.4172, allocations: 8.75 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4173, allocations: 13.41 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4173, allocations: 6.266 kB / 0.5373 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4173, allocations: 4 kB / 0.5373 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4173, allocations: 7.922 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.4178, allocations: 422.8 kB / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4178, allocations: 1.25 kB / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.4179, allocations: 12.62 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4179, allocations: 5.406 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4179, allocations: 1.562 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4179, allocations: 1.562 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4179, allocations: 4.031 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4182, allocations: 216.1 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.4183, allocations: 84.05 kB / 0.538 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.4183, allocations: 9.062 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.4184, allocations: 11.17 kB / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.4184, allocations: 3.125 kB / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4184, allocations: 8.438 kB / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4186, allocations: 131.1 kB / 0.5382 GB, free: 6.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4186, allocations: 0 / 0.5382 GB, free: 6.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.4189, allocations: 51.73 kB / 0.5382 GB, free: 6.934 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 (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.001912/0.4208, allocations: 1.19 MB / 0.5394 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4211, allocations: 68.03 kB / 0.5394 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4211, allocations: 0 / 0.5394 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.556e-05/0.4212, allocations: 36.58 kB / 0.5395 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.4216, allocations: 40.86 kB / 0.5395 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.4236, allocations: 1.649 MB / 0.5411 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.424, allocations: 0.7087 MB / 0.5418 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.914e-05/0.4241, allocations: 21.67 kB / 0.5418 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.4242, allocations: 35.58 kB / 0.5419 GB, free: 3.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4242, allocations: 0 / 0.5419 GB, free: 3.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.4476, allocations: 4.227 MB / 0.546 GB, free: 1.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.898, allocations: 11.66 kB / 0.546 GB, free: 1.434 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches