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.001654/0.001654, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001813/0.001813, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001697/0.001697, allocations: 47.92 kB / 377.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.332, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003577/0.3356, allocations: 1.611 MB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3366, allocations: 466.8 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.3367, allocations: 3.938 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.414e-05/0.3368, allocations: 7.938 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3369, allocations: 19.8 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3371, allocations: 31.97 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3373, allocations: 59.72 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.3375, allocations: 32.2 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3376, allocations: 31.86 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.3377, allocations: 35.78 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.3377, allocations: 8 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.3378, allocations: 11.98 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.3378, allocations: 7.938 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.3378, allocations: 27.86 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.338, allocations: 79.03 kB / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.338, allocations: 0 / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.338, allocations: 0 / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.338, allocations: 0 / 433.5 MB, free: 4.223 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.0005213/0.3385, allocations: 307.1 kB / 433.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3386, allocations: 8.031 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3386, allocations: 42.73 kB / 433.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3388, allocations: 24.83 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.339, allocations: 126.4 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3391, allocations: 8.375 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3391, allocations: 4.375 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.3393, allocations: 114.1 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3393, allocations: 3.938 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3394, allocations: 8 kB / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3394, allocations: 0 / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.3395, allocations: 59.89 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.3403, allocations: 0.5943 MB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3405, allocations: 109.1 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3407, allocations: 56.27 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3407, allocations: 4 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3407, allocations: 38.56 kB / 435 MB, free: 2.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3407, allocations: 0 / 435 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005186/0.3412, allocations: 121.4 kB / 435.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3413, allocations: 162.2 kB / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3415, allocations: 130.3 kB / 435.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3415, allocations: 29.7 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3416, allocations: 104 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3416, allocations: 11.84 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.3417, allocations: 21.72 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3418, allocations: 318.8 kB / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.3419, allocations: 19.98 kB / 435.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.342, allocations: 52.39 kB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3422, allocations: 88.2 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3422, allocations: 0 / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002433/0.3425, allocations: 97.48 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3425, allocations: 4.156 kB / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3425, allocations: 8 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3425, allocations: 0 / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3426, allocations: 15.92 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3426, allocations: 11.92 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.3427, allocations: 8 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3427, allocations: 4 kB / 436.2 MB, free: 1.227 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.0001046/0.3428, allocations: 121.8 kB / 436.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.3429, allocations: 7.953 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.3429, allocations: 15.58 kB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3429, allocations: 7.984 kB / 436.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3429, allocations: 7.938 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3429, allocations: 0 / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.3433, allocations: 152.7 kB / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3433, allocations: 0 / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.3434, allocations: 15.98 kB / 436.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3434, allocations: 0 / 436.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3434, allocations: 3.938 kB / 436.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3434, allocations: 4 kB / 436.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3434, allocations: 3.938 kB / 436.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3438, allocations: 492.6 kB / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3439, allocations: 7.953 kB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3439, allocations: 3.984 kB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3441, allocations: 15.94 kB / 437 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3441, allocations: 15.86 kB / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.3441, allocations: 0 / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.3442, allocations: 95.27 kB / 437.1 MB, free: 204 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3442, allocations: 0 / 437.1 MB, free: 204 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.3446, allocations: 16 kB / 437.1 MB, free: 188 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.0007567/0.3453, allocations: 1.018 MB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3456, allocations: 67.83 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3456, allocations: 320 / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.3457, allocations: 35.92 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3462, allocations: 7.984 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3483, allocations: 1.765 MB / 440 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3484, allocations: 79.27 kB / 440.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3484, allocations: 0 / 440.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.3485, allocations: 23.42 kB / 440.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3485, allocations: 0 / 440.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3777, allocations: 2.203 MB / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.75, allocations: 7.25 kB / 442.3 MB, free: 10.94 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.471458090934902]