Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 157.4 kB / 23.93 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.355e-05, allocations: 6.219 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002816/0.00284, allocations: 1.576 MB / 320 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.003612, allocations: 399 kB / 320.4 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.003673, allocations: 0 / 320.4 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.00372, allocations: 11.86 kB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.003807, allocations: 19.86 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.003976, allocations: 15.98 kB / 320.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.004078, allocations: 59.72 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.004264, allocations: 51.81 kB / 320.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.004406, allocations: 39.91 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.004471, allocations: 19.92 kB / 320.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.0045, allocations: 4 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.004512, allocations: 4 kB / 320.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.004538, allocations: 19.91 kB / 320.6 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.004567, allocations: 12 kB / 320.6 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.004708, allocations: 71.77 kB / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.004712, allocations: 0 / 320.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.004714, allocations: 7.875 kB / 320.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004719, allocations: 4 kB / 320.7 MB, free: 4.027 MB / 282.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.0004717/0.005191, allocations: 294.1 kB / 321 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.005236, allocations: 12.92 kB / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.005276, allocations: 34.75 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.005307, allocations: 8.891 kB / 321.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005417, allocations: 125.7 kB / 321.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.005443, allocations: 8.375 kB / 321.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.005457, allocations: 4.375 kB / 321.2 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.005685, allocations: 117.8 kB / 321.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005695, allocations: 0 / 321.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.005709, allocations: 8 kB / 321.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005714, allocations: 0 / 321.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.005878, allocations: 55.89 kB / 321.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.006505, allocations: 0.5942 MB / 322 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.006668, allocations: 116.9 kB / 322.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.006759, allocations: 56.41 kB / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.006778, allocations: 0 / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.006802, allocations: 38.5 kB / 322.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.006803, allocations: 0 / 322.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003922/0.007195, allocations: 125.5 kB / 322.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.007271, allocations: 166.1 kB / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.00736, allocations: 121.8 kB / 322.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.007374, allocations: 25.7 kB / 322.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.007427, allocations: 100.1 kB / 322.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.007449, allocations: 15.83 kB / 322.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.007492, allocations: 26.28 kB / 322.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.007582, allocations: 322.8 kB / 323.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.007656, allocations: 23.92 kB / 323.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.007733, allocations: 52.27 kB / 323.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.007872, allocations: 80.2 kB / 323.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007875, allocations: 4 kB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001906/0.008066, allocations: 97.48 kB / 323.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.00808, allocations: 7.938 kB / 323.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008086, allocations: 0 / 323.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.008101, allocations: 4 kB / 323.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008203, allocations: 15.98 kB / 323.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.008212, allocations: 12.09 kB / 323.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.008263, allocations: 4 kB / 323.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.008274, allocations: 4 kB / 323.4 MB, free: 1.062 MB / 282.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 7.629e-05/0.00835, allocations: 117.8 kB / 323.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.008433, allocations: 7.953 kB / 323.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.008458, allocations: 11.56 kB / 323.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008463, allocations: 4 kB / 323.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.008468, allocations: 4.062 kB / 323.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008473, allocations: 4 kB / 323.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.008849, allocations: 152.7 kB / 323.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.008853, allocations: 7.984 kB / 323.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.009028, allocations: 11.98 kB / 323.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.009035, allocations: 4 kB / 323.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.009047, allocations: 0 / 323.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.009051, allocations: 0 / 323.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.009054, allocations: 7.938 kB / 323.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.009321, allocations: 488.5 kB / 324.2 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.009335, allocations: 12 kB / 324.2 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.009347, allocations: 3.984 kB / 324.2 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.009639, allocations: 4 kB / 324.2 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.009678, allocations: 11.92 kB / 324.2 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.009686, allocations: 8 kB / 324.2 MB, free: 148 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.009726, allocations: 91.27 kB / 324.3 MB, free: 56 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009727, allocations: 0 / 324.3 MB, free: 56 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.009973, allocations: 19.83 kB / 324.3 MB, free: 36 kB / 282.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.0004488/0.01042, allocations: 1.011 MB / 325.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01057, allocations: 59.83 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01057, allocations: 3.938 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.01062, allocations: 28.55 kB / 325.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.01096, allocations: 8 kB / 325.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.01146, allocations: 233.8 kB / 325.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.653e-05/0.01153, allocations: 79.58 kB / 325.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.678e-05/0.01156, allocations: 3.984 kB / 325.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.0116, allocations: 24.5 kB / 325.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0116, allocations: 0 / 325.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.02457, allocations: 2.316 MB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.959, allocations: 11.95 kB / 328.1 MB, free: 12.27 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.619826030917466]