Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.884e-05, allocations: 5.375 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00256/0.002579, allocations: 1.615 MB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.003447, allocations: 466.8 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.003546, allocations: 7.938 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.003591, allocations: 7.922 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.003688, allocations: 15.8 kB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.003959, allocations: 27.97 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.0041, allocations: 63.72 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.00429, allocations: 44.08 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.004476, allocations: 43.89 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.004543, allocations: 23.91 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.004562, allocations: 4 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.00461, allocations: 12 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.004632, allocations: 11.92 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.004664, allocations: 19.98 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004835, allocations: 75.7 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004838, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.004839, allocations: 0 / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004844, allocations: 0 / 327 MB, free: 13.52 MB / 298.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.0004778/0.005322, allocations: 310 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.005373, allocations: 11.97 kB / 327.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.005419, allocations: 46.73 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.005554, allocations: 12.89 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.005765, allocations: 129.7 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.005788, allocations: 384 / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.0058, allocations: 8.375 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.006018, allocations: 118.4 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.006028, allocations: 192 / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.00604, allocations: 4.125 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006047, allocations: 4 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.006196, allocations: 59.89 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.006692, allocations: 0.5943 MB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.006805, allocations: 117 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.006868, allocations: 52.33 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006883, allocations: 0 / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.006908, allocations: 46.5 kB / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006909, allocations: 0 / 328.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002777/0.007186, allocations: 117.5 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.007243, allocations: 158.2 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.007321, allocations: 126.5 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.00733, allocations: 25.7 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.007375, allocations: 107.9 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.007395, allocations: 19.88 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.007425, allocations: 21.72 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.007502, allocations: 322.8 kB / 329.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.007547, allocations: 23.92 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.007601, allocations: 48.28 kB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.007707, allocations: 84.2 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007709, allocations: 0 / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000132/0.007841, allocations: 97.48 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007856, allocations: 8.141 kB / 329.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007862, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007875, allocations: 4 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.007943, allocations: 8 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.007953, allocations: 11.97 kB / 329.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.007987, allocations: 4.125 kB / 329.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.007995, allocations: 8 kB / 329.6 MB, free: 10.52 MB / 298.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 7.237e-05/0.008068, allocations: 125.7 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.008115, allocations: 7.953 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.008141, allocations: 15.56 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008144, allocations: 8 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.008151, allocations: 0 / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.008155, allocations: 4 kB / 329.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.008425, allocations: 160.6 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.008426, allocations: 0 / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.008463, allocations: 11.98 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.008466, allocations: 4 kB / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.008475, allocations: 0 / 330 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.008477, allocations: 4 kB / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008479, allocations: 0 / 330 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.008744, allocations: 492.5 kB / 330.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.008757, allocations: 7.953 kB / 330.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.00877, allocations: 0 / 330.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.008892, allocations: 11.98 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.008936, allocations: 11.92 kB / 330.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.00894, allocations: 7.938 kB / 330.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.00898, allocations: 95.27 kB / 330.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00898, allocations: 0 / 330.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.009247, allocations: 16 kB / 330.6 MB, free: 9.484 MB / 298.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.0004893/0.009737, allocations: 1.014 MB / 331.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.009887, allocations: 59.89 kB / 331.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009889, allocations: 320 / 331.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.009941, allocations: 31.92 kB / 331.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.0103, allocations: 11.94 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.01159, allocations: 1.776 MB / 333.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.01167, allocations: 75.08 kB / 333.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01171, allocations: 4 kB / 333.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.01176, allocations: 28.48 kB / 333.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01176, allocations: 0 / 333.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.02901, allocations: 2.344 MB / 335.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.273, allocations: 2.5 kB / 335.9 MB, free: 4.078 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.110530825331807]