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.001702/0.001702, allocations: 119.9 kB / 17.73 MB, free: 5.445 MB / 14.72 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.002011/0.002011, allocations: 185.3 kB / 20.67 MB, free: 2.512 MB / 14.72 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 1.427/1.427, allocations: 222.9 MB / 246.4 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001511/0.001511, allocations: 43.91 kB / 357.5 MB, free: 8.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 49.44 MB / 406.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002819/0.1088, allocations: 1.592 MB / 408.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.1096, allocations: 430.9 kB / 408.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.1096, allocations: 0 / 408.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.1097, allocations: 11.88 kB / 408.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.1098, allocations: 7.875 kB / 408.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1099, allocations: 19.97 kB / 409 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.11, allocations: 67.72 kB / 409 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1102, allocations: 48.19 kB / 409.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.1103, allocations: 23.92 kB / 409.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.1104, allocations: 31.84 kB / 409.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1104, allocations: 4 kB / 409.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.1104, allocations: 11.94 kB / 409.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1105, allocations: 11.92 kB / 409.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.1105, allocations: 35.8 kB / 409.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1106, allocations: 59.73 kB / 409.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1106, allocations: 8 kB / 409.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1107, allocations: 0 / 409.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1107, allocations: 3.938 kB / 409.3 MB, free: 5.117 MB / 334.1 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.0005289/0.1112, allocations: 376.7 kB / 409.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1112, allocations: 16.02 kB / 409.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.751e-05/0.1113, allocations: 34.75 kB / 409.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1113, allocations: 8.891 kB / 409.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1115, allocations: 180.2 kB / 409.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.1115, allocations: 16.12 kB / 409.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1116, allocations: 4 kB / 409.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.1118, allocations: 113.9 kB / 410 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1118, allocations: 3.984 kB / 410 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1118, allocations: 4 kB / 410 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1119, allocations: 4 kB / 410 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1121, allocations: 67.77 kB / 410.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.1127, allocations: 0.6303 MB / 410.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1129, allocations: 117 kB / 410.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1131, allocations: 60.34 kB / 410.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1131, allocations: 4 kB / 410.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1131, allocations: 34.56 kB / 410.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1131, allocations: 0 / 410.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004598/0.1136, allocations: 125.4 kB / 411 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1137, allocations: 166.1 kB / 411.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1138, allocations: 114.5 kB / 411.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1139, allocations: 29.7 kB / 411.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.1139, allocations: 104 kB / 411.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.114, allocations: 15.86 kB / 411.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.114, allocations: 21.72 kB / 411.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1142, allocations: 318.8 kB / 411.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.1142, allocations: 19.98 kB / 411.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.1144, allocations: 56.2 kB / 411.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1145, allocations: 80.2 kB / 411.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1146, allocations: 4 kB / 411.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.1148, allocations: 97.53 kB / 412 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1148, allocations: 4 kB / 412 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1148, allocations: 0 / 412 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1148, allocations: 7.938 kB / 412 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.115, allocations: 11.98 kB / 412.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.115, allocations: 12.09 kB / 412.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.1151, allocations: 7.953 kB / 412.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1151, allocations: 4 kB / 412.1 MB, free: 1.926 MB / 334.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: 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 9.996e-05/0.1152, allocations: 118 kB / 412.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.1153, allocations: 4 kB / 412.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1153, allocations: 15.47 kB / 412.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1153, allocations: 4 kB / 412.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1153, allocations: 0 / 412.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1153, allocations: 4 kB / 412.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.1157, allocations: 193.5 kB / 412.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1158, allocations: 4 kB / 412.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.1158, allocations: 11.98 kB / 412.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1158, allocations: 0 / 412.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1159, allocations: 11.94 kB / 412.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1159, allocations: 3.938 kB / 412.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1159, allocations: 7.938 kB / 412.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.1163, allocations: 484.6 kB / 412.9 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.1164, allocations: 89.05 kB / 413 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1164, allocations: 3.938 kB / 413 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1166, allocations: 4 kB / 413 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1167, allocations: 19.92 kB / 413 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1167, allocations: 4 kB / 413 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.1167, allocations: 95.64 kB / 413.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1167, allocations: 0 / 413.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.1171, allocations: 12 kB / 413.1 MB, free: 0.7578 MB / 334.1 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.000774/0.1179, allocations: 1.022 MB / 414.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1182, allocations: 63.89 kB / 414.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1182, allocations: 0 / 414.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1183, allocations: 31.92 kB / 414.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.1188, allocations: 9.688 kB / 414.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.1196, allocations: 232.7 kB / 414.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1199, allocations: 0.6961 MB / 415.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.12, allocations: 7.969 kB / 415.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.12, allocations: 23.44 kB / 415.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.12, allocations: 0 / 415.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1458, allocations: 1.633 MB / 416.9 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.216, allocations: 10.69 kB / 416.9 MB, free: 12.99 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.718261315952986]