Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001763/0.001763, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 80.42 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.307, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002749/0.3098, allocations: 1.733 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3119, allocations: 1.629 MB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3119, allocations: 0 / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.3122, allocations: 46.17 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3125, allocations: 98.81 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3127, allocations: 76.48 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.3129, allocations: 102.8 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.313, allocations: 17.97 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.3131, allocations: 41.02 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3132, allocations: 46.55 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3132, allocations: 6.188 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3134, allocations: 121.5 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3135, allocations: 17.58 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.3135, allocations: 32.33 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3138, allocations: 170.3 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3138, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3138, allocations: 0 / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3138, allocations: 0 / 0.5346 GB, free: 10.3 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.0005345/0.3144, allocations: 434.1 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3144, allocations: 9.625 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3145, allocations: 36.12 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3145, allocations: 18.33 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3148, allocations: 218.6 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.3148, allocations: 1.375 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3148, allocations: 2.75 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.315, allocations: 73.08 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.315, allocations: 1.375 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.315, allocations: 0 / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.315, allocations: 5.375 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.3151, allocations: 17.61 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.3155, allocations: 285.5 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3156, allocations: 57.88 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.3157, allocations: 22.47 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3157, allocations: 4 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.3159, allocations: 66.52 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.907e-06/0.3159, allocations: 0 / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005122/0.3164, allocations: 185.1 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3164, allocations: 82.42 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3166, allocations: 167 kB / 0.5362 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3166, allocations: 30.73 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3167, allocations: 100.3 kB / 0.5364 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3167, allocations: 27.25 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.3168, allocations: 25.17 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3169, allocations: 321.1 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.317, allocations: 19.47 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.317, allocations: 44.91 kB / 0.5368 GB, free: 8.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3172, allocations: 63.17 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3172, allocations: 192 / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.3174, allocations: 95.02 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3174, allocations: 14.45 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3174, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3174, allocations: 1.25 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.3175, allocations: 16.56 kB / 0.537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3175, allocations: 5.438 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.3176, allocations: 6.125 kB / 0.537 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3176, allocations: 7.234 kB / 0.537 GB, free: 8.039 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 8.335e-05/0.3177, allocations: 120.3 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3177, allocations: 8.328 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.3178, allocations: 13.06 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3178, allocations: 9.141 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3178, allocations: 0 / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3178, allocations: 1.094 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.3182, allocations: 408.3 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3182, allocations: 3.938 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.3183, allocations: 8.094 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3183, allocations: 1.156 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3183, allocations: 1.031 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3183, allocations: 1.156 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3183, allocations: 1.094 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3185, allocations: 215.9 kB / 0.5377 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3186, allocations: 88.47 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3186, allocations: 1.219 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.3187, allocations: 2.375 kB / 0.5378 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3188, allocations: 15.66 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3188, allocations: 3.562 kB / 0.5378 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3189, allocations: 127.5 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3189, allocations: 4 kB / 0.538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.3192, allocations: 45.73 kB / 0.538 GB, free: 7.078 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.001535/0.3207, allocations: 1.191 MB / 0.5392 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3209, allocations: 57.83 kB / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3209, allocations: 0 / 0.5392 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.321, allocations: 33.45 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.3214, allocations: 36.77 kB / 0.5393 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.323, allocations: 1.587 MB / 0.5408 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3232, allocations: 0.6959 MB / 0.5415 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.3233, allocations: 23.45 kB / 0.5415 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3234, allocations: 37.91 kB / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of SimCode: time 1.844e-06/0.3234, allocations: 0 / 0.5416 GB, free: 3.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3453, allocations: 4.008 MB / 0.5455 GB, free: 1.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.099, allocations: 5.766 kB / 0.5455 GB, free: 1.723 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches