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.001744/0.001744, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002215/0.002215, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001477/0.001477, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.261, allocations: 53.36 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002978/0.264, allocations: 1.638 MB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.2648, allocations: 0.4947 MB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2649, allocations: 0 / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.265, allocations: 7.875 kB / 433.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.265, allocations: 19.86 kB / 433.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.2652, allocations: 35.89 kB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2654, allocations: 59.78 kB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.2655, allocations: 28.22 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2657, allocations: 39.84 kB / 433.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.2657, allocations: 27.86 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2657, allocations: 11.94 kB / 433.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.2658, allocations: 11.98 kB / 433.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.2658, allocations: 8 kB / 433.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2658, allocations: 31.8 kB / 433.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.266, allocations: 80.48 kB / 433.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.266, allocations: 3.938 kB / 433.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.266, allocations: 0 / 433.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.266, allocations: 0 / 433.6 MB, free: 4.34 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.0004843/0.2665, allocations: 309.6 kB / 433.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2665, allocations: 12.03 kB / 433.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.2666, allocations: 34.73 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2668, allocations: 28.83 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.267, allocations: 126.4 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2671, allocations: 4.375 kB / 434.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2671, allocations: 4.375 kB / 434.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2673, allocations: 118 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2673, allocations: 0 / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2673, allocations: 12 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2673, allocations: 0 / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.2675, allocations: 55.89 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.2682, allocations: 0.6099 MB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2684, allocations: 108.9 kB / 435 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2685, allocations: 56.39 kB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2685, allocations: 0 / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2686, allocations: 42.5 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2686, allocations: 7.938 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004488/0.269, allocations: 117.5 kB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2691, allocations: 158.2 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2692, allocations: 126.3 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2693, allocations: 37.7 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.2693, allocations: 99.95 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2694, allocations: 15.91 kB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2694, allocations: 17.72 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2696, allocations: 322.8 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.2696, allocations: 15.98 kB / 436 MB, free: 1.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.2697, allocations: 56.28 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2699, allocations: 80.19 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2699, allocations: 0 / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002221/0.2702, allocations: 101.5 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2702, allocations: 4 kB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2702, allocations: 4.125 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2702, allocations: 4 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.2703, allocations: 16.14 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2703, allocations: 7.938 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.2704, allocations: 4 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2704, allocations: 4 kB / 436.3 MB, free: 1.34 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 0.0001226/0.2705, allocations: 129.7 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.2706, allocations: 7.953 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.2706, allocations: 19.56 kB / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2706, allocations: 0 / 436.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2706, allocations: 7.938 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2706, allocations: 4 kB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.271, allocations: 152.7 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.271, allocations: 0 / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.2711, allocations: 11.98 kB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2711, allocations: 4 kB / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2711, allocations: 3.938 kB / 436.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2711, allocations: 4 kB / 436.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2711, allocations: 3.938 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.2715, allocations: 492.5 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.2716, allocations: 11.94 kB / 437.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2716, allocations: 4 kB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2718, allocations: 12 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.2718, allocations: 11.92 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2718, allocations: 4 kB / 437.2 MB, free: 408 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.2719, allocations: 91.27 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2719, allocations: 0 / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.2723, allocations: 12 kB / 437.3 MB, free: 304 kB / 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.0007375/0.273, allocations: 1.018 MB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.2733, allocations: 71.77 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2733, allocations: 0 / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2734, allocations: 31.92 kB / 438.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.2739, allocations: 7.984 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.2759, allocations: 1.775 MB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2763, allocations: 0.6924 MB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.2763, allocations: 4 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.2764, allocations: 19.42 kB / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2764, allocations: 0 / 440.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.303, allocations: 1.823 MB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.03, allocations: 3.094 kB / 442.7 MB, free: 10.8 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/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: 13.65706891100126]