Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001607, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3143, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002806/0.3171, allocations: 1.694 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3186, allocations: 0.9982 MB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.3187, allocations: 5.25 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3191, allocations: 53.97 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3194, allocations: 95.28 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3196, allocations: 74.45 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3198, allocations: 93.45 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.3199, allocations: 17.62 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.32, allocations: 43.19 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.32, allocations: 33.98 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3201, allocations: 3.844 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.3202, allocations: 32.03 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.3202, allocations: 26.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.3203, allocations: 39.94 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3206, allocations: 124.5 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3206, allocations: 4 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3206, allocations: 0 / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3206, allocations: 3.938 kB / 0.5338 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006035/0.3212, allocations: 442.2 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3212, allocations: 9.625 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.3214, allocations: 32.12 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.3215, allocations: 10.39 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3218, allocations: 224.3 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3218, allocations: 5.75 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3218, allocations: 5.312 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.322, allocations: 51.28 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.322, allocations: 7.875 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.322, allocations: 1.375 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.322, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.3221, allocations: 16.23 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.3224, allocations: 192.9 kB / 0.5348 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3225, allocations: 57.75 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3226, allocations: 21.09 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3226, allocations: 1.375 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3228, allocations: 65.08 kB / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3228, allocations: 0 / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003143/0.3231, allocations: 100.1 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3232, allocations: 52.78 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3235, allocations: 275.3 kB / 0.5353 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3235, allocations: 27.8 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.3236, allocations: 114.9 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.3236, allocations: 17.28 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3237, allocations: 18.84 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3238, allocations: 332.2 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.3239, allocations: 18.75 kB / 0.5358 GB, free: 8.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.3239, allocations: 31.81 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.324, allocations: 48.52 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.324, allocations: 3.938 kB / 0.5359 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.3242, allocations: 85.03 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3242, allocations: 7.375 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3242, allocations: 4.031 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3243, allocations: 5.375 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.3243, allocations: 8.781 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3244, allocations: 5.141 kB / 0.536 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.3244, allocations: 10.23 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3244, allocations: 1.531 kB / 0.536 GB, free: 8.75 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 (7): * Single equations (assignments): 7 * 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.0001077/0.3245, allocations: 133.4 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.3246, allocations: 22.38 kB / 0.5362 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3246, allocations: 20.8 kB / 0.5362 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3246, allocations: 4 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3246, allocations: 1.094 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3247, allocations: 0 / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3248, allocations: 199 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3248, allocations: 1.094 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.3248, allocations: 3.375 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3249, allocations: 0 / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3249, allocations: 5.188 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3249, allocations: 0 / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3249, allocations: 1.094 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3251, allocations: 115.1 kB / 0.5365 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.3251, allocations: 88.33 kB / 0.5366 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3251, allocations: 9.234 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.3252, allocations: 6.188 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3252, allocations: 2.312 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3252, allocations: 5.875 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.3254, allocations: 202.9 kB / 0.5368 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3254, allocations: 4 kB / 0.5368 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.3257, allocations: 21.84 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001245/0.3269, allocations: 0.9408 MB / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.3271, allocations: 47.2 kB / 0.5378 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3271, allocations: 9.344 kB / 0.5378 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.3272, allocations: 23.53 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3275, allocations: 25.86 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3291, allocations: 1.673 MB / 0.5395 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3294, allocations: 0.715 MB / 0.5402 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.3295, allocations: 13.27 kB / 0.5402 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.3295, allocations: 40.98 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3295, allocations: 1.031 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.3488, allocations: 3.483 MB / 0.5437 GB, free: 3.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.856, allocations: 6.234 kB / 0.5437 GB, free: 3.188 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches