Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001366/0.001366, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 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.00172/0.00172, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.918/0.918, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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.1.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.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.602e-05, allocations: 6.25 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003963/0.003989, allocations: 1.647 MB / 275.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.004741, allocations: 477 kB / 276.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.00481, allocations: 4 kB / 276.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.004848, allocations: 7.875 kB / 276.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.612e-05/0.004934, allocations: 13.08 kB / 276.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.008179, allocations: 31.91 kB / 276.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.008309, allocations: 68.22 kB / 276.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.008449, allocations: 36.09 kB / 276.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.008598, allocations: 48.77 kB / 276.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.00865, allocations: 19.92 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.008668, allocations: 4.625 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.00871, allocations: 10.03 kB / 276.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.008729, allocations: 15.92 kB / 276.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.008756, allocations: 23.91 kB / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.008882, allocations: 59.75 kB / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008884, allocations: 0 / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008885, allocations: 0 / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.008892, allocations: 1.938 kB / 276.6 MB, free: 1.977 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.0003742/0.009267, allocations: 400.4 kB / 277 MB, free: 1.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.009301, allocations: 11.98 kB / 277 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.009423, allocations: 24.83 kB / 277.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.00956, allocations: 137 kB / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.009575, allocations: 4.375 kB / 277.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.009585, allocations: 8.375 kB / 277.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.00974, allocations: 121.3 kB / 277.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.009748, allocations: 192 / 277.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.009758, allocations: 4.375 kB / 277.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.009764, allocations: 7.938 kB / 277.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.009808, allocations: 19.92 kB / 277.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.01027, allocations: 0.7811 MB / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.01039, allocations: 155.3 kB / 278.3 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.01043, allocations: 46.56 kB / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.01044, allocations: 0 / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.01047, allocations: 45.38 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01047, allocations: 112 / 278.4 MB, free: 16 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002246/0.01069, allocations: 77.45 kB / 278.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.01076, allocations: 154.8 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.01389, allocations: 189.7 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.01391, allocations: 29.7 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.01397, allocations: 138.8 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.014, allocations: 19.81 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.01404, allocations: 27.38 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01417, allocations: 0.4884 MB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.01419, allocations: 4 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.01423, allocations: 50.36 kB / 279.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.0143, allocations: 66.36 kB / 279.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.01431, allocations: 7.938 kB / 279.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001084/0.01442, allocations: 65.52 kB / 279.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01443, allocations: 4 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01443, allocations: 4 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.01445, allocations: 3.984 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.01452, allocations: 8 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01452, allocations: 12.14 kB / 279.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.01457, allocations: 8 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.01457, allocations: 0 / 279.7 MB, free: 14.52 MB / 266.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 8.093e-05/0.01465, allocations: 164.5 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.01473, allocations: 15.89 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.01476, allocations: 11.61 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01477, allocations: 4 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01477, allocations: 0 / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01477, allocations: 0 / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.01507, allocations: 113.4 kB / 280 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01507, allocations: 8 kB / 280 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.01511, allocations: 8 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01511, allocations: 7.938 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.01512, allocations: 3.984 kB / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01512, allocations: 4 kB / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01512, allocations: 0 / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.01541, allocations: 0.6802 MB / 280.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.01542, allocations: 11.89 kB / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.01543, allocations: 0 / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.01561, allocations: 7.984 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.01565, allocations: 12 kB / 280.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.01566, allocations: 7.984 kB / 280.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.01571, allocations: 127.2 kB / 280.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01571, allocations: 0 / 280.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.01607, allocations: 15.94 kB / 280.9 MB, free: 13.27 MB / 266.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 8.056e-05/0.01615, allocations: 99.17 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.01624, allocations: 39.59 kB / 281 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01625, allocations: 320 / 281 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.01628, allocations: 23.62 kB / 281.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.01978, allocations: 11.94 kB / 281.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.02033, allocations: 213.5 kB / 281.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.0204, allocations: 63.2 kB / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.02043, allocations: 4.312 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.02049, allocations: 78.2 kB / 281.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02049, allocations: 0 / 281.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Templates: time 0.005671/0.02616, allocations: 0.6109 MB / 282 MB, free: 12.05 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6264678039588034]