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.001646/0.001646, allocations: 88.62 kB / 20.96 MB, free: 3.473 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.002104/0.002104, allocations: 149.4 kB / 24.26 MB, free: 180 kB / 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 1.514/1.514, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.9e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003005/0.003034, allocations: 1.592 MB / 268.9 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004091, allocations: 418.7 kB / 269.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.004146, allocations: 8 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.004183, allocations: 7.875 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.004272, allocations: 11.81 kB / 269.3 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.004424, allocations: 19.97 kB / 269.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.004535, allocations: 63.78 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.004709, allocations: 31.92 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004846, allocations: 39.84 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.004908, allocations: 23.91 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.004933, allocations: 8 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.004948, allocations: 8 kB / 269.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.004971, allocations: 11.92 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.005013, allocations: 23.92 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.005157, allocations: 67.77 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.00516, allocations: 0 / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005161, allocations: 0 / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.005166, allocations: 0 / 269.6 MB, free: 4.398 MB / 250.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.0005752/0.005741, allocations: 306 kB / 269.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.00578, allocations: 8.922 kB / 269.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.005837, allocations: 16.88 kB / 269.9 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.005979, allocations: 129.5 kB / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.006005, allocations: 8.375 kB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.006019, allocations: 4.375 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.00627, allocations: 110.1 kB / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006278, allocations: 0 / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.006294, allocations: 8 kB / 270.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006299, allocations: 0 / 270.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.006505, allocations: 59.83 kB / 270.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.007208, allocations: 0.5714 MB / 270.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.007413, allocations: 109.1 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.007549, allocations: 52.2 kB / 271 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.007573, allocations: 4 kB / 271 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.007615, allocations: 38.56 kB / 271 MB, free: 2.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.007616, allocations: 0 / 271 MB, free: 2.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000485/0.008101, allocations: 125.4 kB / 271.1 MB, free: 2.672 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.008221, allocations: 162.2 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.008349, allocations: 121.8 kB / 271.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.008374, allocations: 29.7 kB / 271.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.008466, allocations: 100 kB / 271.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.008493, allocations: 16.47 kB / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.008546, allocations: 25.7 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.008742, allocations: 326.8 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.008824, allocations: 15.98 kB / 271.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.008934, allocations: 52.28 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.009124, allocations: 80.2 kB / 272.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009126, allocations: 0 / 272.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002477/0.009373, allocations: 97.53 kB / 272.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.009388, allocations: 4 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.009398, allocations: 4 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.009421, allocations: 3.984 kB / 272.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.009524, allocations: 16.09 kB / 272.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.009533, allocations: 4 kB / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.18e-05/0.009604, allocations: 15.88 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.009619, allocations: 8 kB / 272.2 MB, free: 1.504 MB / 250.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 0.0001109/0.00973, allocations: 113.8 kB / 272.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.009814, allocations: 4.125 kB / 272.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.009856, allocations: 19.56 kB / 272.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.00986, allocations: 4 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.009866, allocations: 4 kB / 272.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.009869, allocations: 0 / 272.3 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.01022, allocations: 133.1 kB / 272.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01023, allocations: 4 kB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.01031, allocations: 15.92 kB / 272.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01031, allocations: 0 / 272.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01032, allocations: 8 kB / 272.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01032, allocations: 0 / 272.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.01033, allocations: 4 kB / 272.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.0108, allocations: 492.5 kB / 273 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.01082, allocations: 15.94 kB / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01083, allocations: 0 / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.01106, allocations: 12 kB / 273 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.01112, allocations: 11.91 kB / 273 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.01112, allocations: 4 kB / 273 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.019e-05/0.0112, allocations: 91.27 kB / 273.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 273.1 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000396/0.0116, allocations: 19.95 kB / 273.1 MB, free: 0.5039 MB / 250.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.0001196/0.01172, allocations: 91.25 kB / 273.2 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.01197, allocations: 63.83 kB / 273.3 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01197, allocations: 0 / 273.3 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01208, allocations: 35.92 kB / 273.3 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.01261, allocations: 7.984 kB / 273.3 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.01309, allocations: 204.2 kB / 273.5 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.01322, allocations: 75.27 kB / 273.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.01327, allocations: 4 kB / 273.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.01331, allocations: 12.5 kB / 273.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01332, allocations: 0 / 273.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Templates: time 0.003418/0.01673, allocations: 0.5641 MB / 274.2 MB, free: 15.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.30208599101752]