Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 183.9 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.91 kB / 470.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3206, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002776/0.3234, allocations: 1.9 MB / 0.5204 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3249, allocations: 0.9802 MB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.325, allocations: 6.438 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004923/0.3255, allocations: 254.5 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.3259, allocations: 180.6 kB / 0.5218 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.3264, allocations: 184.5 kB / 0.5219 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3267, allocations: 250.3 kB / 0.5222 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3268, allocations: 35.09 kB / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.327, allocations: 122.3 kB / 0.5223 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3272, allocations: 186.3 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.3272, allocations: 8.594 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3274, allocations: 69.94 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.3275, allocations: 63.47 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.3275, allocations: 91.14 kB / 0.5227 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.3279, allocations: 247.2 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3279, allocations: 0.8438 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3279, allocations: 0 / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3279, allocations: 0 / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006144/0.3285, allocations: 0.5806 MB / 0.5235 GB, free: 188 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3286, allocations: 9.969 kB / 0.5235 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3286, allocations: 42.73 kB / 0.5236 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3287, allocations: 32.86 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.329, allocations: 289.9 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3291, allocations: 3.406 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.3291, allocations: 13.19 kB / 0.5239 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3294, allocations: 111 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3294, allocations: 1.844 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3294, allocations: 5.75 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3294, allocations: 1.188 kB / 0.524 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3295, allocations: 49.53 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.3301, allocations: 488.8 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3305, allocations: 123.4 kB / 0.5246 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3307, allocations: 46.92 kB / 0.5247 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3307, allocations: 1.781 kB / 0.5247 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3309, allocations: 117.8 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.3309, allocations: 0 / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001319/0.3323, allocations: 0.5107 MB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.3324, allocations: 80.5 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.3329, allocations: 481.3 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3329, allocations: 32.14 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3331, allocations: 166.2 kB / 0.526 GB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.3331, allocations: 72.55 kB / 0.5261 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/0.3332, allocations: 44.84 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3334, allocations: 348.4 kB / 0.5265 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3335, allocations: 55.86 kB / 0.5265 GB, free: 14.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3337, allocations: 96.92 kB / 0.5266 GB, free: 13.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.334, allocations: 163.5 kB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.334, allocations: 0 / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004105/0.3344, allocations: 241.8 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3345, allocations: 5.5 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3345, allocations: 1.438 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3345, allocations: 6.125 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3346, allocations: 48.08 kB / 0.5271 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3347, allocations: 6.688 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.3348, allocations: 13.47 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3348, allocations: 7.531 kB / 0.5271 GB, free: 13.71 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001753/0.335, allocations: 164.9 kB / 0.5272 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.335, allocations: 43.33 kB / 0.5273 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.3351, allocations: 46.38 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3351, allocations: 8.125 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3351, allocations: 0 / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3351, allocations: 2.453 kB / 0.5273 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.3361, allocations: 0.7248 MB / 0.528 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3361, allocations: 5.562 kB / 0.5281 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.3362, allocations: 31.8 kB / 0.5281 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3362, allocations: 1.219 kB / 0.5281 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3363, allocations: 13.42 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3363, allocations: 2.469 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.3363, allocations: 9.172 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.3368, allocations: 422.5 kB / 0.5285 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.3369, allocations: 105 kB / 0.5286 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.3369, allocations: 8.812 kB / 0.5286 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3371, allocations: 11.56 kB / 0.5286 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3371, allocations: 21.31 kB / 0.5287 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.3372, allocations: 16.88 kB / 0.5287 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003607/0.3375, allocations: 360 kB / 0.529 GB, free: 12.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3375, allocations: 0 / 0.529 GB, free: 12.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.3379, allocations: 48.09 kB / 0.5291 GB, free: 12.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002587/0.3405, allocations: 1.369 MB / 0.5304 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3409, allocations: 171.5 kB / 0.5306 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.341, allocations: 4.125 kB / 0.5306 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3411, allocations: 82.73 kB / 0.5306 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.3418, allocations: 58.84 kB / 0.5307 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.3455, allocations: 2.943 MB / 0.5336 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3459, allocations: 0.7853 MB / 0.5343 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3461, allocations: 43.06 kB / 0.5344 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3462, allocations: 102.4 kB / 0.5345 GB, free: 8.125 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3463, allocations: 0 / 0.5345 GB, free: 8.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.376, allocations: 6.49 MB / 0.5408 GB, free: 4.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/8.805, allocations: 13.42 kB / 0.5408 GB, free: 4.812 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches