Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002608, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002255/0.003394, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9764/0.9764, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08059/1.057, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.103e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003434/0.003455, allocations: 1.702 MB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.004303, allocations: 0.4907 MB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.004377, allocations: 4 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.004415, allocations: 7.875 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.004476, allocations: 7.875 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.00462, allocations: 31.91 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.004755, allocations: 63.77 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.004911, allocations: 36.09 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.00513, allocations: 59.81 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.005201, allocations: 23.92 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.00522, allocations: 4 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.005282, allocations: 8 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.005303, allocations: 11.94 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.005329, allocations: 15.94 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.005491, allocations: 51.75 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.005505, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005506, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.005518, allocations: 4 kB / 247.7 MB, free: 11.04 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.0004362/0.005954, allocations: 292.3 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005993, allocations: 12.62 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.006158, allocations: 98.02 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.006328, allocations: 125.6 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.006354, allocations: 4.375 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.006367, allocations: 4.375 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.00654, allocations: 115.1 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.006554, allocations: 4.125 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.006566, allocations: 12.38 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.006573, allocations: 3.938 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.006619, allocations: 23.92 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.007072, allocations: 0.5125 MB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.007187, allocations: 101 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.007242, allocations: 36.36 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.007258, allocations: 0 / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.007288, allocations: 38.56 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.00729, allocations: 4 kB / 249.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002324/0.007522, allocations: 73.42 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.007598, allocations: 158.2 kB / 249.3 MB, free: 9.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.007684, allocations: 126.6 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007698, allocations: 25.7 kB / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.007745, allocations: 96.06 kB / 249.5 MB, free: 8.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.00777, allocations: 19.86 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.00781, allocations: 22.31 kB / 249.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.007906, allocations: 322.8 kB / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.007926, allocations: 7.984 kB / 249.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.007959, allocations: 32.3 kB / 249.9 MB, free: 8.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.008024, allocations: 52.16 kB / 250 MB, free: 8.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008026, allocations: 0 / 250 MB, free: 8.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001007/0.008127, allocations: 65.58 kB / 250.1 MB, free: 8.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.008141, allocations: 4 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.008148, allocations: 3.984 kB / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.008164, allocations: 4 kB / 250.1 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.008247, allocations: 15.94 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.008252, allocations: 4 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.008298, allocations: 11.92 kB / 250.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008303, allocations: 0 / 250.1 MB, free: 8.348 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 7.634e-05/0.00838, allocations: 109.8 kB / 250.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.008467, allocations: 16.06 kB / 250.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.008496, allocations: 15.61 kB / 250.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.008498, allocations: 0 / 250.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008502, allocations: 4 kB / 250.2 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008506, allocations: 0 / 250.2 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.0088, allocations: 85.8 kB / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.008803, allocations: 4 kB / 250.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.008854, allocations: 11.98 kB / 250.3 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.008869, allocations: 11.89 kB / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.008873, allocations: 0 / 250.4 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.008881, allocations: 7.938 kB / 250.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.008883, allocations: 4 kB / 250.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.008886, allocations: 0 / 250.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.00912, allocations: 456.7 kB / 250.8 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.009134, allocations: 7.938 kB / 250.8 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.009331, allocations: 8 kB / 250.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.009381, allocations: 7.984 kB / 250.8 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.009388, allocations: 4 kB / 250.8 MB, free: 7.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.009418, allocations: 20.83 kB / 250.9 MB, free: 7.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009418, allocations: 0 / 250.9 MB, free: 7.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.00982, allocations: 12 kB / 250.9 MB, free: 7.531 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.0001075/0.009927, allocations: 84.3 kB / 251 MB, free: 7.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.01003, allocations: 28.84 kB / 251 MB, free: 7.406 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01004, allocations: 4 kB / 251 MB, free: 7.402 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/0.01009, allocations: 28.72 kB / 251 MB, free: 7.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.01061, allocations: 16.88 kB / 251 MB, free: 7.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01164, allocations: 220.3 kB / 251.2 MB, free: 7.102 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.01171, allocations: 63.34 kB / 251.3 MB, free: 7.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.512e-05/0.01174, allocations: 4 kB / 251.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.0118, allocations: 51.38 kB / 251.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0118, allocations: 0 / 251.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of Templates: time 0.002824/0.01462, allocations: 0.5237 MB / 251.9 MB, free: 6.441 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.440818422473967]