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.0009599/0.0009599, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001224/0.001224, allocations: 163.4 kB / 25.61 MB, free: 8.879 MB / 18.57 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 1.053/1.053, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.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.463e-06/1.463e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.754e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.008548/0.008576, allocations: 1.65 MB / 275.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.009301, allocations: 479.5 kB / 276.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.009379, allocations: 4 kB / 276.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.009413, allocations: 9.578 kB / 276.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.157e-05/0.009495, allocations: 15.8 kB / 276.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.009668, allocations: 27.97 kB / 276.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.00978, allocations: 59.78 kB / 276.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.009916, allocations: 44.86 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.01005, allocations: 47.88 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.0101, allocations: 16.77 kB / 276.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.01011, allocations: 7.938 kB / 276.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.01015, allocations: 9.531 kB / 276.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.01016, allocations: 7.984 kB / 276.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.01019, allocations: 23.92 kB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.01632, allocations: 55.75 kB / 276.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01632, allocations: 0.7188 kB / 276.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01632, allocations: 3.938 kB / 276.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.01633, allocations: 7.984 kB / 276.6 MB, free: 1.828 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.0003774/0.01671, allocations: 396.4 kB / 276.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01674, allocations: 12.03 kB / 277 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.01686, allocations: 32.77 kB / 277 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.01699, allocations: 128.5 kB / 277.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.01701, allocations: 4.375 kB / 277.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.01702, allocations: 4.375 kB / 277.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.01717, allocations: 125.3 kB / 277.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.01718, allocations: 4.188 kB / 277.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.01718, allocations: 384 / 277.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01719, allocations: 7.938 kB / 277.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.01724, allocations: 23.92 kB / 277.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.0177, allocations: 0.785 MB / 278.1 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.01783, allocations: 147.3 kB / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.01787, allocations: 54.56 kB / 278.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.01788, allocations: 0 / 278.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.01791, allocations: 45.33 kB / 278.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.01791, allocations: 0 / 278.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002279/0.01814, allocations: 81.5 kB / 278.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.0182, allocations: 154.2 kB / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.0183, allocations: 179.1 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.01832, allocations: 29.7 kB / 278.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.01838, allocations: 142.8 kB / 278.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.0184, allocations: 20.45 kB / 278.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.01845, allocations: 31.36 kB / 278.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01857, allocations: 496.1 kB / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.01859, allocations: 7.984 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.01863, allocations: 50.42 kB / 279.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.01869, allocations: 58.38 kB / 279.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.0187, allocations: 3.938 kB / 279.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001036/0.0188, allocations: 73.52 kB / 279.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01882, allocations: 11.92 kB / 279.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01882, allocations: 4 kB / 279.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.01883, allocations: 0 / 279.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.0189, allocations: 8 kB / 279.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.0189, allocations: 4 kB / 279.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.01894, allocations: 7.984 kB / 279.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.01895, allocations: 0 / 279.6 MB, free: 14.38 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.885e-05/0.01903, allocations: 172.6 kB / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006094/0.02513, allocations: 7.953 kB / 279.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.02515, allocations: 11.62 kB / 279.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.02516, allocations: 4 kB / 279.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.02516, allocations: 0 / 279.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02516, allocations: 3.984 kB / 279.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.02546, allocations: 113.2 kB / 279.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02547, allocations: 0 / 279.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.02551, allocations: 8 kB / 280 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.02552, allocations: 7.938 kB / 280 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.02552, allocations: 0 / 280 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.02553, allocations: 8 kB / 280 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.02553, allocations: 3.938 kB / 280 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.02581, allocations: 0.6765 MB / 280.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.02582, allocations: 11.95 kB / 280.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.02584, allocations: 4 kB / 280.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.02602, allocations: 4 kB / 280.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.02606, allocations: 15.92 kB / 280.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.02607, allocations: 4 kB / 280.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.443e-05/0.02611, allocations: 130.7 kB / 280.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02611, allocations: 4 kB / 280.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.02647, allocations: 15.94 kB / 280.8 MB, free: 13.12 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.746e-05/0.02656, allocations: 99.19 kB / 280.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.02665, allocations: 35.59 kB / 281 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.02665, allocations: 0 / 281 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.02669, allocations: 27.61 kB / 281 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.02717, allocations: 12.5 kB / 281 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.02767, allocations: 221.5 kB / 281.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.02773, allocations: 63.22 kB / 281.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.84e-05/0.02776, allocations: 3.984 kB / 281.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.02781, allocations: 74.2 kB / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02781, allocations: 0 / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Templates: time 0.004297/0.03211, allocations: 0.6176 MB / 282 MB, free: 11.89 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8679956388659775]