Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00208/0.00208, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002783/0.002783, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 58.58 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2622, allocations: 49.15 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002993/0.2652, allocations: 1.58 MB / 397.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.2659, allocations: 450.6 kB / 398.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.266, allocations: 2.219 kB / 398.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.266, allocations: 10.78 kB / 398.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.2661, allocations: 13.55 kB / 398.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.2663, allocations: 22.11 kB / 398.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2664, allocations: 58.2 kB / 398.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2665, allocations: 41.8 kB / 398.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2666, allocations: 29.33 kB / 398.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.2667, allocations: 29.14 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2667, allocations: 4.375 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.2668, allocations: 6.094 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.2668, allocations: 11.28 kB / 398.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.2668, allocations: 24.91 kB / 398.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.267, allocations: 67.2 kB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.267, allocations: 1.375 kB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.267, allocations: 0 / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.267, allocations: 0 / 398.7 MB, free: 7.344 MB / 318.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.0004425/0.2674, allocations: 316.9 kB / 399 MB, free: 7.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2675, allocations: 14.3 kB / 399 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2675, allocations: 38.94 kB / 399 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.2675, allocations: 8.391 kB / 399 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.2676, allocations: 120.6 kB / 399.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.2676, allocations: 6.625 kB / 399.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2676, allocations: 5.484 kB / 399.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.2678, allocations: 115.8 kB / 399.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2679, allocations: 1.156 kB / 399.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2679, allocations: 1.281 kB / 399.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2679, allocations: 5.875 kB / 399.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.268, allocations: 58.81 kB / 399.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.2685, allocations: 0.595 MB / 399.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2687, allocations: 123.4 kB / 400.1 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.2688, allocations: 55.42 kB / 400.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2688, allocations: 3.219 kB / 400.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.2688, allocations: 42.23 kB / 400.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.2688, allocations: 0 / 400.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004143/0.2692, allocations: 123.8 kB / 400.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2693, allocations: 157 kB / 400.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.2693, allocations: 130.1 kB / 400.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2693, allocations: 25.7 kB / 400.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.2694, allocations: 98.28 kB / 400.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2694, allocations: 19.83 kB / 400.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.2694, allocations: 24.12 kB / 400.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.2695, allocations: 315.8 kB / 401 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.2696, allocations: 20.8 kB / 401 MB, free: 5.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.2697, allocations: 50.05 kB / 401.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2698, allocations: 82.42 kB / 401.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2698, allocations: 1.062 kB / 401.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002081/0.27, allocations: 105.2 kB / 401.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.27, allocations: 5.75 kB / 401.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.27, allocations: 1.344 kB / 401.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2701, allocations: 1.281 kB / 401.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.2701, allocations: 12.81 kB / 401.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2702, allocations: 5.641 kB / 401.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.2702, allocations: 7.703 kB / 401.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2702, allocations: 2.797 kB / 401.3 MB, free: 4.895 MB / 318.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 6.674e-05/0.2703, allocations: 116.3 kB / 401.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.2704, allocations: 16.75 kB / 401.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2704, allocations: 18.34 kB / 401.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2704, allocations: 2.594 kB / 401.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2704, allocations: 5.281 kB / 401.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2704, allocations: 2.047 kB / 401.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.2707, allocations: 152.6 kB / 401.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2707, allocations: 1.406 kB / 401.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.2708, allocations: 12.03 kB / 401.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2708, allocations: 1.375 kB / 401.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2708, allocations: 2.953 kB / 401.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2708, allocations: 9.156 kB / 401.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2708, allocations: 5.344 kB / 401.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2711, allocations: 493 kB / 402.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2711, allocations: 16.83 kB / 402.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2711, allocations: 10.17 kB / 402.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.2713, allocations: 6.266 kB / 402.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.2714, allocations: 12.03 kB / 402.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2714, allocations: 2.719 kB / 402.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.2714, allocations: 98.66 kB / 402.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2714, allocations: 0 / 402.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.2718, allocations: 9.719 kB / 402.3 MB, free: 4.004 MB / 318.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.0004352/0.2723, allocations: 1.008 MB / 403.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.2725, allocations: 73.12 kB / 403.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2725, allocations: 0 / 403.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.2726, allocations: 28.7 kB / 403.4 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.2731, allocations: 9.031 kB / 403.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.2737, allocations: 237.4 kB / 403.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.869e-05/0.2738, allocations: 78.66 kB / 403.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.2739, allocations: 2.672 kB / 403.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.2739, allocations: 20.14 kB / 403.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2739, allocations: 1.219 kB / 403.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.3026, allocations: 2.182 MB / 405.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.66, allocations: 5.797 kB / 405.9 MB, free: 1.621 MB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.2085877279751]