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.001694/0.001694, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002093/0.002093, allocations: 213.1 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001892/0.001892, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2878, allocations: 53.39 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00294/0.2907, allocations: 1.63 MB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.2916, allocations: 0.4986 MB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.2917, allocations: 0 / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.2917, allocations: 11.88 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.2918, allocations: 11.88 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.292, allocations: 31.91 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2921, allocations: 63.77 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2923, allocations: 36.14 kB / 433.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.2924, allocations: 31.91 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.2925, allocations: 35.8 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2925, allocations: 8 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.2926, allocations: 4 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.2926, allocations: 23.92 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.2926, allocations: 27.81 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.2928, allocations: 76.48 kB / 433.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2928, allocations: 0 / 433.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2928, allocations: 0 / 433.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2928, allocations: 0 / 433.6 MB, free: 4.188 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.0005252/0.2933, allocations: 309.6 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2934, allocations: 12.03 kB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.2934, allocations: 30.75 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2935, allocations: 24.83 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2938, allocations: 138.3 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2938, allocations: 8.375 kB / 434.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2938, allocations: 4.375 kB / 434.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2941, allocations: 118.1 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2941, allocations: 4 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2941, allocations: 7.938 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2941, allocations: 4 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2943, allocations: 63.81 kB / 434.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.295, allocations: 0.606 MB / 435 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2952, allocations: 113 kB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2953, allocations: 56.28 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2953, allocations: 3.984 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2954, allocations: 42.56 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2954, allocations: 0 / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004491/0.2958, allocations: 117.5 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2959, allocations: 158.8 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.296, allocations: 129.8 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2961, allocations: 29.7 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2961, allocations: 96.03 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.2962, allocations: 19.89 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.2962, allocations: 21.7 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2964, allocations: 322.8 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.2964, allocations: 15.98 kB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.2965, allocations: 52.28 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2967, allocations: 80.2 kB / 436.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2967, allocations: 0 / 436.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002311/0.297, allocations: 101.5 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.297, allocations: 4 kB / 436.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.297, allocations: 160 / 436.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.297, allocations: 11.98 kB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.2971, allocations: 8 kB / 436.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2971, allocations: 11.88 kB / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.2972, allocations: 7.984 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2972, allocations: 4 kB / 436.3 MB, free: 1.172 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.000109/0.2973, allocations: 121.8 kB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.2974, allocations: 7.953 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.2974, allocations: 15.56 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2974, allocations: 8 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2974, allocations: 3.938 kB / 436.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2974, allocations: 4 kB / 436.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.2978, allocations: 152.7 kB / 436.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2978, allocations: 3.938 kB / 436.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.2979, allocations: 11.98 kB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2979, allocations: 4 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2979, allocations: 3.938 kB / 436.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.2979, allocations: 7.938 kB / 436.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2979, allocations: 4.062 kB / 436.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.2983, allocations: 492.6 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.2983, allocations: 7.953 kB / 437.2 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2983, allocations: 8 kB / 437.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2985, allocations: 11.98 kB / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.2986, allocations: 15.86 kB / 437.2 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2986, allocations: 0 / 437.2 MB, free: 236 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.2987, allocations: 95.27 kB / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2987, allocations: 0 / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.299, allocations: 12 kB / 437.3 MB, free: 128 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.0007241/0.2998, allocations: 1.014 MB / 438.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.3, allocations: 63.83 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.3, allocations: 4 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.3001, allocations: 31.92 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.3007, allocations: 4 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3028, allocations: 1.772 MB / 440.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.3032, allocations: 0.6955 MB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.3032, allocations: 0 / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.3033, allocations: 23.42 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3033, allocations: 0 / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.3315, allocations: 1.831 MB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.3, allocations: 11.17 kB / 442.8 MB, free: 10.61 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.811118323999835]