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.001024/0.001024, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001806/0.001806, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.047/1.047, allocations: 177 MB / 204.8 MB, free: 5.609 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.232e-06/1.232e-06, allocations: 0 / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.712e-05, allocations: 9.125 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002128/0.002155, allocations: 1.66 MB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.00283, allocations: 486.6 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.002899, allocations: 4 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.00294, allocations: 11.86 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.262e-05/0.003023, allocations: 11.88 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.003232, allocations: 31.91 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003348, allocations: 63.72 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.0035, allocations: 32.2 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003638, allocations: 47.83 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.003688, allocations: 23.91 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003705, allocations: 4 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.003745, allocations: 8 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003761, allocations: 19.91 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.003784, allocations: 16 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.003921, allocations: 55.75 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003924, allocations: 3.938 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003925, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003929, allocations: 0 / 275.4 MB, free: 15.01 MB / 266.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.0003868/0.004316, allocations: 404.3 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.00435, allocations: 12.03 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.004484, allocations: 24.88 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.004641, allocations: 136.4 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.004664, allocations: 384 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004677, allocations: 12.38 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.004853, allocations: 121.4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.004863, allocations: 4.125 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004874, allocations: 4.375 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.004886, allocations: 3.938 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.00494, allocations: 23.92 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.005566, allocations: 0.8039 MB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.005673, allocations: 143.5 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.005716, allocations: 54.44 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.005731, allocations: 4 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.005755, allocations: 41.38 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.005757, allocations: 0 / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002118/0.005969, allocations: 81.45 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.006022, allocations: 154.2 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.006107, allocations: 186.5 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.006118, allocations: 29.7 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.00617, allocations: 142.8 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.006192, allocations: 23.81 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.006224, allocations: 27.38 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006333, allocations: 0.4922 MB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.006353, allocations: 8 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.006392, allocations: 54.36 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.006451, allocations: 66.38 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.006453, allocations: 0 / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.102e-05/0.006534, allocations: 65.58 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.006548, allocations: 4 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.006554, allocations: 7.938 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.006567, allocations: 0 / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.006639, allocations: 11.98 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.006644, allocations: 0 / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.006675, allocations: 16.11 kB / 278.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006681, allocations: 0 / 278.5 MB, free: 11.51 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 7.457e-05/0.006755, allocations: 164.5 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.006803, allocations: 8.109 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.006826, allocations: 15.62 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.006832, allocations: 11.98 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006836, allocations: 3.938 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006838, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.007043, allocations: 136.5 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.007047, allocations: 4 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.007085, allocations: 16 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.007088, allocations: 0 / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.007098, allocations: 4 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007099, allocations: 0 / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007101, allocations: 3.984 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.00739, allocations: 0.6724 MB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.007402, allocations: 7.953 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.007418, allocations: 4 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.007525, allocations: 8 kB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.007577, allocations: 7.984 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007582, allocations: 4 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.007633, allocations: 135.2 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.007633, allocations: 3.938 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.007898, allocations: 15.94 kB / 279.7 MB, free: 10.23 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 0.0001119/0.00801, allocations: 99.19 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.008153, allocations: 43.55 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.008156, allocations: 0 / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.008197, allocations: 27.92 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.008616, allocations: 8 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.009159, allocations: 221.2 kB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.009217, allocations: 59.34 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.009247, allocations: 4.312 kB / 280.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.009277, allocations: 12.5 kB / 280.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009278, allocations: 0 / 280.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of Templates: time 0.002603/0.01188, allocations: 0.5918 MB / 280.8 MB, free: 9.09 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.6319655110128224]