Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007304/0.0007304, allocations: 88.33 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008151/0.0008151, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8853/0.8853, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.468e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001768/0.001783, allocations: 1.604 MB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.002377, allocations: 470.8 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.002445, allocations: 0 / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.002481, allocations: 15.86 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.002548, allocations: 7.875 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.00274, allocations: 35.83 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.002872, allocations: 63.72 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.003035, allocations: 40.14 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.003162, allocations: 39.91 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.003211, allocations: 27.89 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003228, allocations: 8 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.71e-05/0.003265, allocations: 8 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.003277, allocations: 11.94 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.003301, allocations: 19.92 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003424, allocations: 79.69 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003426, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003426, allocations: 0 / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00343, allocations: 0 / 326.9 MB, free: 13.46 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.0003919/0.003822, allocations: 310 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.003862, allocations: 19.98 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.003896, allocations: 38.73 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.003988, allocations: 16.89 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004133, allocations: 121.7 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.004151, allocations: 4.375 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.004161, allocations: 8.375 kB / 327.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.004313, allocations: 114.4 kB / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004321, allocations: 192 / 327.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004334, allocations: 8.125 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004339, allocations: 4 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.004443, allocations: 55.89 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.004857, allocations: 0.5943 MB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.004965, allocations: 116.9 kB / 328.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.005028, allocations: 56.39 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.005044, allocations: 4 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005068, allocations: 42.5 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005069, allocations: 3.938 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002614/0.00533, allocations: 117.5 kB / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.005383, allocations: 158.8 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.00545, allocations: 129.8 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.005462, allocations: 29.7 kB / 328.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.005777, allocations: 96.03 kB / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.005796, allocations: 19.89 kB / 329 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.005823, allocations: 17.72 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.005899, allocations: 322.8 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.005942, allocations: 23.98 kB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.005992, allocations: 52.28 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.006087, allocations: 76.2 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006089, allocations: 3.938 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.006208, allocations: 105.6 kB / 329.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.006221, allocations: 11.98 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006226, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006236, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.006299, allocations: 12 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.006304, allocations: 0 / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.006338, allocations: 7.984 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.006343, allocations: 4 kB / 329.6 MB, free: 10.47 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 5.997e-05/0.006403, allocations: 125.7 kB / 329.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.006447, allocations: 11.95 kB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.006467, allocations: 23.59 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.00647, allocations: 4 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.006476, allocations: 3.984 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.00648, allocations: 0 / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.00674, allocations: 156.6 kB / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006742, allocations: 4 kB / 329.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.00677, allocations: 11.98 kB / 329.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006772, allocations: 0 / 329.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.00678, allocations: 11.94 kB / 329.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006781, allocations: 0 / 329.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006783, allocations: 8 kB / 329.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.007001, allocations: 488.5 kB / 330.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.007008, allocations: 3.953 kB / 330.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.007019, allocations: 4.188 kB / 330.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.007133, allocations: 11.98 kB / 330.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.007171, allocations: 15.92 kB / 330.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.007175, allocations: 4 kB / 330.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.007209, allocations: 91.27 kB / 330.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007209, allocations: 4 kB / 330.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.007458, allocations: 19.94 kB / 330.6 MB, free: 9.418 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.0004345/0.007892, allocations: 1.003 MB / 331.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.008052, allocations: 68.08 kB / 331.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008054, allocations: 0 / 331.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.008111, allocations: 31.92 kB / 331.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.008484, allocations: 15.88 kB / 331.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.009851, allocations: 1.772 MB / 333.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.009933, allocations: 79.08 kB / 333.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.009965, allocations: 0 / 333.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.01002, allocations: 24.48 kB / 333.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01002, allocations: 4 kB / 333.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02435, allocations: 2.335 MB / 335.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.774, allocations: 14.64 kB / 335.9 MB, free: 3.996 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.552992538549006]