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.001561/0.001561, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001718/0.001718, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.00153/0.00153, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002846/0.2366, allocations: 1.603 MB / 432.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.2374, allocations: 466.8 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.2375, allocations: 3.938 kB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.2376, allocations: 7.938 kB / 433.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.2376, allocations: 11.88 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2378, allocations: 43.81 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.238, allocations: 51.86 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2381, allocations: 47.88 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.2383, allocations: 31.91 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.2383, allocations: 27.86 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2383, allocations: 4 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.2384, allocations: 15.94 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2384, allocations: 11.92 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.2384, allocations: 27.86 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2386, allocations: 73.53 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2386, allocations: 4 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2386, allocations: 0 / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2386, allocations: 0 / 433.5 MB, free: 4.211 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.0004678/0.239, allocations: 314 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2391, allocations: 8.031 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.2391, allocations: 42.73 kB / 433.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2392, allocations: 12.89 kB / 433.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.2395, allocations: 130.4 kB / 434 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2395, allocations: 16.36 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2395, allocations: 4.375 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2397, allocations: 114.1 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2397, allocations: 0 / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2398, allocations: 0 / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2398, allocations: 4 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.24, allocations: 63.83 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.2406, allocations: 0.5982 MB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.2408, allocations: 109.1 kB / 434.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2409, allocations: 56.27 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.241, allocations: 3.938 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.241, allocations: 38.56 kB / 435 MB, free: 2.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.241, allocations: 0 / 435 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004937/0.2415, allocations: 121.5 kB / 435.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.2416, allocations: 162.2 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2417, allocations: 129.7 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2417, allocations: 29.7 kB / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.2418, allocations: 96.03 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.2418, allocations: 15.89 kB / 435.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.2418, allocations: 22.34 kB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.242, allocations: 318.8 kB / 435.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.242, allocations: 19.98 kB / 435.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.2421, allocations: 52.28 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2423, allocations: 80.19 kB / 436 MB, free: 1.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2423, allocations: 4.125 kB / 436 MB, free: 1.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002293/0.2426, allocations: 105.5 kB / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2426, allocations: 4 kB / 436.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2426, allocations: 0 / 436.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2426, allocations: 4 kB / 436.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.423e-05/0.2427, allocations: 11.98 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2427, allocations: 16.03 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.2428, allocations: 4 kB / 436.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2428, allocations: 4 kB / 436.2 MB, free: 1.215 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.756e-05/0.2429, allocations: 121.8 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.243, allocations: 15.94 kB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.243, allocations: 15.58 kB / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.243, allocations: 0 / 436.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.243, allocations: 3.938 kB / 436.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.243, allocations: 4 kB / 436.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.2434, allocations: 148.7 kB / 436.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2434, allocations: 4 kB / 436.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.2435, allocations: 15.92 kB / 436.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2435, allocations: 4 kB / 436.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2435, allocations: 4 kB / 436.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.2435, allocations: 7.938 kB / 436.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2435, allocations: 3.938 kB / 436.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.2439, allocations: 484.6 kB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.2439, allocations: 11.95 kB / 437 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2439, allocations: 7.969 kB / 437 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2441, allocations: 8 kB / 437 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.2442, allocations: 19.86 kB / 437 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2442, allocations: 0 / 437 MB, free: 284 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.2442, allocations: 99.64 kB / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2442, allocations: 0 / 437.1 MB, free: 184 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.2446, allocations: 11.94 kB / 437.1 MB, free: 172 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.0006832/0.2453, allocations: 1.018 MB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2455, allocations: 67.89 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2455, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.2456, allocations: 32.48 kB / 438.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.2461, allocations: 6.672 kB / 438.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.2481, allocations: 1.773 MB / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.2482, allocations: 75.33 kB / 440.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.2482, allocations: 4 kB / 440.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.2483, allocations: 27.42 kB / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2483, allocations: 0 / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.2761, allocations: 2.217 MB / 442.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.53, allocations: 11.92 kB / 442.4 MB, free: 10.89 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: 13.989636820013402]