Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9309/0.9309, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.624e-05, allocations: 5.516 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002143/0.002169, allocations: 1.576 MB / 320 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.002719, allocations: 403 kB / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.002767, allocations: 0 / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.002808, allocations: 11.86 kB / 320.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.002883, allocations: 15.88 kB / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003037, allocations: 11.98 kB / 320.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003122, allocations: 63.72 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.003285, allocations: 43.83 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.003386, allocations: 39.91 kB / 320.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.003442, allocations: 23.89 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.003466, allocations: 8 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.003476, allocations: 4 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.003496, allocations: 19.92 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.003518, allocations: 8 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003642, allocations: 75.75 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003644, allocations: 0 / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003645, allocations: 7.875 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.00365, allocations: 0 / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003643/0.004014, allocations: 302.1 kB / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.00405, allocations: 8.922 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.004078, allocations: 38.75 kB / 321.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.0041, allocations: 8.891 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.004175, allocations: 117.7 kB / 321.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.004196, allocations: 12.38 kB / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.004205, allocations: 4.375 kB / 321.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004357, allocations: 120.6 kB / 321.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004364, allocations: 0 / 321.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.004376, allocations: 8 kB / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004381, allocations: 0 / 321.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.004483, allocations: 55.89 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.004936, allocations: 0.5942 MB / 322 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.005041, allocations: 121 kB / 322.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.005105, allocations: 56.34 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.005118, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.005137, allocations: 38.5 kB / 322.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005138, allocations: 0 / 322.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002632/0.005402, allocations: 125.6 kB / 322.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.005455, allocations: 166.1 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.005522, allocations: 121.7 kB / 322.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005531, allocations: 29.7 kB / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.005573, allocations: 100.1 kB / 322.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.005589, allocations: 11.84 kB / 322.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.005618, allocations: 26.19 kB / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003193/0.005938, allocations: 318.8 kB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.00598, allocations: 27.92 kB / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.006029, allocations: 48.28 kB / 323.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.006127, allocations: 84.19 kB / 323.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006129, allocations: 4 kB / 323.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000122/0.006251, allocations: 97.48 kB / 323.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006262, allocations: 7.938 kB / 323.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.006266, allocations: 0 / 323.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.006277, allocations: 4 kB / 323.3 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.006336, allocations: 11.98 kB / 323.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.006342, allocations: 4.094 kB / 323.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.006374, allocations: 16 kB / 323.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.00638, allocations: 0 / 323.4 MB, free: 1.086 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.849e-05/0.006438, allocations: 117.8 kB / 323.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.006484, allocations: 11.94 kB / 323.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.006503, allocations: 11.56 kB / 323.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006505, allocations: 4 kB / 323.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.006511, allocations: 4.062 kB / 323.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006515, allocations: 4 kB / 323.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.006753, allocations: 148.7 kB / 323.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006754, allocations: 8 kB / 323.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.006781, allocations: 11.98 kB / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006782, allocations: 0 / 323.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.006789, allocations: 4 kB / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00679, allocations: 0 / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.006793, allocations: 7.938 kB / 323.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.006995, allocations: 488.5 kB / 324.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.007002, allocations: 0 / 324.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.007014, allocations: 19.97 kB / 324.2 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.007131, allocations: 4 kB / 324.2 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.007166, allocations: 11.92 kB / 324.2 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.00717, allocations: 4 kB / 324.2 MB, free: 172 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.007201, allocations: 91.27 kB / 324.3 MB, free: 80 kB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007201, allocations: 0 / 324.3 MB, free: 80 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.007453, allocations: 23.83 kB / 324.3 MB, free: 56 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0003725/0.007825, allocations: 1.01 MB / 325.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.007956, allocations: 63.77 kB / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007958, allocations: 0 / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.008007, allocations: 27.98 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.008339, allocations: 8.625 kB / 325.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.008802, allocations: 237.7 kB / 325.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.496e-05/0.008867, allocations: 79.58 kB / 325.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.00889, allocations: 0 / 325.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.008932, allocations: 24.48 kB / 325.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008933, allocations: 0 / 325.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.02297, allocations: 2.318 MB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.618, allocations: 11.25 kB / 328.1 MB, free: 12.29 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable controlBus.realSignal1 in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.48081492073834]