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.001417/0.001417, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001774/0.001774, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.589/1.589, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.002469/0.002469, allocations: 60.12 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4393, allocations: 53.41 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003792/0.4431, allocations: 1.606 MB / 432.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.4441, allocations: 458.8 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.4441, allocations: 4 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.4441, allocations: 11.86 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.4442, allocations: 7.875 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.4443, allocations: 39.89 kB / 433.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.4445, allocations: 63.78 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4446, allocations: 31.95 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4448, allocations: 35.84 kB / 433.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.4448, allocations: 27.84 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4448, allocations: 8 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.4449, allocations: 12 kB / 433.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.4449, allocations: 11.94 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.445, allocations: 27.8 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.4451, allocations: 77.52 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4451, allocations: 0 / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4451, allocations: 0 / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4451, allocations: 0 / 433.5 MB, free: 4.035 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.0005406/0.4457, allocations: 314 kB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.4457, allocations: 23.92 kB / 433.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.4458, allocations: 34.75 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.4459, allocations: 20.88 kB / 433.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.4462, allocations: 126.4 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.4462, allocations: 4.375 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4463, allocations: 4.375 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.4465, allocations: 125 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4465, allocations: 0 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4465, allocations: 0 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4465, allocations: 0 / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4467, allocations: 67.88 kB / 434.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.4474, allocations: 0.5981 MB / 434.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4476, allocations: 113 kB / 435 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4478, allocations: 48.41 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4478, allocations: 11.94 kB / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.4478, allocations: 38.56 kB / 435 MB, free: 2.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4478, allocations: 0 / 435 MB, free: 2.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004686/0.4483, allocations: 121.5 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4484, allocations: 158.8 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4485, allocations: 122.1 kB / 435.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4485, allocations: 33.7 kB / 435.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.4486, allocations: 104 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4486, allocations: 15.91 kB / 435.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4487, allocations: 21.7 kB / 435.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4488, allocations: 318.8 kB / 435.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.4489, allocations: 15.98 kB / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.449, allocations: 56.27 kB / 436 MB, free: 1.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4492, allocations: 76.2 kB / 436.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4492, allocations: 4 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002131/0.4494, allocations: 97.48 kB / 436.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4494, allocations: 12.16 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4494, allocations: 0 / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4495, allocations: 4 kB / 436.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.4496, allocations: 11.98 kB / 436.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4496, allocations: 3.938 kB / 436.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.4496, allocations: 12.11 kB / 436.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.4496, allocations: 4 kB / 436.2 MB, free: 1.035 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.0001219/0.4498, allocations: 129.7 kB / 436.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.4499, allocations: 7.953 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.4499, allocations: 15.56 kB / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4499, allocations: 4 kB / 436.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4499, allocations: 3.938 kB / 436.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4499, allocations: 3.984 kB / 436.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4503, allocations: 148.7 kB / 436.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4503, allocations: 4 kB / 436.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.4503, allocations: 12 kB / 436.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4503, allocations: 0 / 436.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4504, allocations: 4 kB / 436.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4504, allocations: 3.984 kB / 436.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.4504, allocations: 15.88 kB / 436.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4508, allocations: 484.6 kB / 437 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.4508, allocations: 3.953 kB / 437 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4508, allocations: 4 kB / 437 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.451, allocations: 7.984 kB / 437 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.4511, allocations: 15.88 kB / 437.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4511, allocations: 7.938 kB / 437.1 MB, free: 104 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.4511, allocations: 95.31 kB / 437.2 MB, free: 8 kB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4511, allocations: 4 kB / 437.2 MB, free: 4 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.4515, allocations: 12.05 kB / 437.2 MB, free: 15.99 MB / 350.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.0007357/0.4523, allocations: 1.018 MB / 438.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.4525, allocations: 56.09 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4525, allocations: 4.062 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.4526, allocations: 35.91 kB / 438.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.4531, allocations: 8 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.4552, allocations: 1.762 MB / 440.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4553, allocations: 79.33 kB / 440.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.4554, allocations: 3.984 kB / 440.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.4554, allocations: 19.44 kB / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4554, allocations: 0 / 440.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.4874, allocations: 2.219 MB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.38, allocations: 7.484 kB / 442.4 MB, free: 10.71 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: 14.218550217803568]