Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 117.6 kB / 17.78 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.001217/0.001217, allocations: 199.9 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4141, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004179/0.4184, allocations: 1.936 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.4205, allocations: 1.056 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.4207, allocations: 1.438 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.4212, allocations: 48.78 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.4217, allocations: 94.94 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.422, allocations: 101.7 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.4224, allocations: 150.7 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4226, allocations: 25.92 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.4227, allocations: 57.72 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.4229, allocations: 48.08 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.4229, allocations: 12.25 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.4231, allocations: 46.23 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.4232, allocations: 26.73 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.4232, allocations: 55.98 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.4236, allocations: 156.5 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4236, allocations: 0 / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4236, allocations: 0 / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4237, allocations: 1.375 kB / 0.5343 GB, free: 10.51 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008625/0.4245, allocations: 492 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4246, allocations: 9.625 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.4246, allocations: 41.48 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.4247, allocations: 15.72 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.4251, allocations: 237 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4252, allocations: 7.125 kB / 0.5351 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.4252, allocations: 8.062 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.4255, allocations: 114.4 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4255, allocations: 9.297 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4255, allocations: 0 / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4255, allocations: 2.75 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.4257, allocations: 54.5 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.4264, allocations: 0.4957 MB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.4269, allocations: 91.75 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.427, allocations: 39.3 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.4271, allocations: 2.188 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.4273, allocations: 89.23 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 4.068e-06/0.4273, allocations: 0 / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004458/0.4278, allocations: 143.2 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.4278, allocations: 60.41 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.4281, allocations: 199.6 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4281, allocations: 39.02 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4282, allocations: 118.9 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.4283, allocations: 28.5 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.4283, allocations: 29.58 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4285, allocations: 323.5 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.4286, allocations: 27.92 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4287, allocations: 68.73 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4289, allocations: 93.61 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4289, allocations: 0 / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003191/0.4293, allocations: 147 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4293, allocations: 5.469 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4293, allocations: 1.25 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4293, allocations: 9.125 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4294, allocations: 22.83 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4295, allocations: 1.188 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.4296, allocations: 13.17 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4296, allocations: 13.34 kB / 0.5372 GB, free: 7.816 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.0001186/0.4297, allocations: 125.7 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.4297, allocations: 15.81 kB / 0.5374 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.4298, allocations: 17.78 kB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4298, allocations: 4.938 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4298, allocations: 0 / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4298, allocations: 5.078 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4301, allocations: 206.9 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4301, allocations: 0 / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.4302, allocations: 13.06 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4302, allocations: 1.344 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4302, allocations: 5.328 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.4302, allocations: 3.938 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4302, allocations: 1.406 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.4306, allocations: 180.9 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4307, allocations: 88.23 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.4307, allocations: 10.03 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.4308, allocations: 11.3 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.4309, allocations: 11.23 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4309, allocations: 3.531 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4311, allocations: 145.4 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4311, allocations: 7.875 kB / 0.538 GB, free: 7.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.4314, allocations: 28.59 kB / 0.5381 GB, free: 7.051 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.001649/0.433, allocations: 1.018 MB / 0.5391 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.4333, allocations: 75.59 kB / 0.5391 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4334, allocations: 0 / 0.5391 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4335, allocations: 46.88 kB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4338, allocations: 49.84 kB / 0.5392 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.4364, allocations: 1.756 MB / 0.5409 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4368, allocations: 0.7167 MB / 0.5416 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.4369, allocations: 27.56 kB / 0.5417 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.437, allocations: 44.14 kB / 0.5417 GB, free: 3.93 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.437, allocations: 0 / 0.5417 GB, free: 3.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.4659, allocations: 3.798 MB / 0.5454 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.962, allocations: 15.42 kB / 0.5454 GB, free: 1.902 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/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_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches