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.001444/0.001444, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001792/0.001792, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.5/1.5, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.002701/0.002701, allocations: 55.92 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2588, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002776/0.2616, allocations: 1.604 MB / 397.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.2623, allocations: 479.1 kB / 398.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.2623, allocations: 2.25 kB / 398.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.2624, allocations: 10.2 kB / 398.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.2624, allocations: 14.75 kB / 398.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.2626, allocations: 17.14 kB / 398.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2627, allocations: 61.23 kB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2629, allocations: 37.64 kB / 398.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.263, allocations: 34.38 kB / 398.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.2631, allocations: 36.39 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2631, allocations: 5.625 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.2631, allocations: 5.219 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2631, allocations: 12.62 kB / 398.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.2632, allocations: 28.77 kB / 398.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2633, allocations: 70.02 kB / 398.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2633, allocations: 0 / 398.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2633, allocations: 0 / 398.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.2633, allocations: 1.625 kB / 398.7 MB, free: 7.383 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.000457/0.2638, allocations: 311.4 kB / 399 MB, free: 7.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2639, allocations: 13.8 kB / 399.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2639, allocations: 38.25 kB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.2639, allocations: 9.047 kB / 399.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.264, allocations: 125 kB / 399.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.264, allocations: 3.828 kB / 399.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2641, allocations: 3.125 kB / 399.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2643, allocations: 115.8 kB / 399.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2643, allocations: 0 / 399.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2643, allocations: 5.625 kB / 399.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2643, allocations: 6.25 kB / 399.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.2645, allocations: 54.14 kB / 399.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.2651, allocations: 0.6087 MB / 400 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.2653, allocations: 117.6 kB / 400.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2654, allocations: 52.89 kB / 400.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.2654, allocations: 6.219 kB / 400.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2654, allocations: 37.48 kB / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2654, allocations: 0 / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004647/0.2659, allocations: 122.1 kB / 400.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2659, allocations: 161.8 kB / 400.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.266, allocations: 125.5 kB / 400.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.266, allocations: 29.7 kB / 400.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.2661, allocations: 97.45 kB / 400.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2661, allocations: 20.44 kB / 400.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2661, allocations: 25.06 kB / 400.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.2662, allocations: 314.8 kB / 401.1 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.2663, allocations: 20.39 kB / 401.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.2664, allocations: 52.88 kB / 401.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.2665, allocations: 78.69 kB / 401.2 MB, free: 5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2665, allocations: 128 / 401.2 MB, free: 5 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.2668, allocations: 109.5 kB / 401.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2668, allocations: 5.406 kB / 401.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2668, allocations: 1.375 kB / 401.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.2668, allocations: 1.25 kB / 401.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2669, allocations: 12.38 kB / 401.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2669, allocations: 14.58 kB / 401.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.267, allocations: 6.906 kB / 401.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.267, allocations: 3.281 kB / 401.4 MB, free: 4.926 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 7.407e-05/0.2671, allocations: 119.6 kB / 401.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.2672, allocations: 16.67 kB / 401.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2672, allocations: 15.19 kB / 401.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2672, allocations: 1.406 kB / 401.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2672, allocations: 7.609 kB / 401.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2672, allocations: 1.312 kB / 401.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.2676, allocations: 155.2 kB / 401.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2676, allocations: 1.938 kB / 401.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.2677, allocations: 11.97 kB / 401.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2677, allocations: 5.703 kB / 401.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2677, allocations: 2.156 kB / 401.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2677, allocations: 5.875 kB / 401.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2677, allocations: 6.125 kB / 401.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.268, allocations: 492.8 kB / 402.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.268, allocations: 13 kB / 402.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.268, allocations: 2.359 kB / 402.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2683, allocations: 7.703 kB / 402.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2683, allocations: 17.41 kB / 402.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2683, allocations: 7.938 kB / 402.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.2684, allocations: 100 kB / 402.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2684, allocations: 0 / 402.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2687, allocations: 8.469 kB / 402.4 MB, free: 4.031 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.000463/0.2692, allocations: 1.013 MB / 403.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.2694, allocations: 65.58 kB / 403.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2694, allocations: 320 / 403.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.2695, allocations: 36.3 kB / 403.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2701, allocations: 8.703 kB / 403.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.2708, allocations: 240.4 kB / 403.7 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2709, allocations: 0.694 MB / 404.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.725e-05/0.271, allocations: 3.406 kB / 404.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.271, allocations: 20.53 kB / 404.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.271, allocations: 0 / 404.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.3012, allocations: 1.782 MB / 406.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.81, allocations: 6.312 kB / 406.2 MB, free: 1.453 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 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.mat","/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.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.31730028288439]