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.001932/0.001932, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002043/0.002043, allocations: 164.8 kB / 24.27 MB, free: 156 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.601/1.601, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.784e-06/1.784e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.181e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003286/0.003318, allocations: 1.619 MB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004402, allocations: 486.6 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.004479, allocations: 4 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.004516, allocations: 7.875 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.004627, allocations: 11.86 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.004856, allocations: 35.89 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.00501, allocations: 63.78 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.005187, allocations: 36.08 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.005357, allocations: 39.91 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.005426, allocations: 19.91 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.005448, allocations: 12 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.005508, allocations: 11.98 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.005528, allocations: 8 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.005567, allocations: 19.92 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.005744, allocations: 83.62 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.005747, allocations: 4 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005748, allocations: 0 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005754, allocations: 0 / 274.6 MB, free: 15.36 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.0007617/0.006515, allocations: 408 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.006561, allocations: 8.031 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.006726, allocations: 24.84 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.006922, allocations: 128.5 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.00695, allocations: 8.375 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.006964, allocations: 4.375 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.007218, allocations: 124.6 kB / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.007228, allocations: 192 / 275.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.007244, allocations: 8.359 kB / 275.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.007253, allocations: 7.938 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.007432, allocations: 47.91 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.008226, allocations: 0.8156 MB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.008467, allocations: 159.4 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.008596, allocations: 66.55 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.008618, allocations: 0 / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.008664, allocations: 45.33 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.008665, allocations: 0 / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000448/0.009113, allocations: 117.5 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.009232, allocations: 166.1 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.009425, allocations: 189.9 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.009452, allocations: 29.7 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.009554, allocations: 146.8 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.009585, allocations: 15.91 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.009643, allocations: 27.98 kB / 277.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002608/0.009904, allocations: 0.4922 MB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.009981, allocations: 23.98 kB / 277.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01009, allocations: 66.42 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01026, allocations: 78.36 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.01026, allocations: 7.938 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002381/0.0105, allocations: 101.5 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.01052, allocations: 4 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.01053, allocations: 4 kB / 277.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01054, allocations: 0 / 277.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.01064, allocations: 8 kB / 277.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.01065, allocations: 11.92 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.01071, allocations: 7.938 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.01072, allocations: 8.156 kB / 278 MB, free: 11.67 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 0.0001313/0.01085, allocations: 168.5 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.01094, allocations: 7.953 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.01097, allocations: 15.61 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01098, allocations: 0 / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01098, allocations: 0 / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01098, allocations: 4 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.01153, allocations: 140.6 kB / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01154, allocations: 0 / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.01163, allocations: 11.98 kB / 278.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.01164, allocations: 8 kB / 278.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01165, allocations: 0 / 278.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.01166, allocations: 7.938 kB / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01167, allocations: 0 / 278.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.01227, allocations: 0.6998 MB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01229, allocations: 8.141 kB / 279 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.01232, allocations: 8 kB / 279 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.0126, allocations: 4 kB / 279 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.01267, allocations: 15.92 kB / 279 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.01268, allocations: 4 kB / 279 MB, free: 10.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.01277, allocations: 143.2 kB / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01277, allocations: 0 / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.01315, allocations: 11.94 kB / 279.2 MB, free: 10.36 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.0001324/0.01329, allocations: 91.25 kB / 279.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01353, allocations: 67.53 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01353, allocations: 4.25 kB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01364, allocations: 47.59 kB / 279.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.01414, allocations: 12 kB / 279.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.01468, allocations: 213.3 kB / 279.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.01479, allocations: 75.33 kB / 279.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.01482, allocations: 4.562 kB / 279.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.01486, allocations: 12.5 kB / 279.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01486, allocations: 0 / 279.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of Templates: time 0.003639/0.0185, allocations: 0.5643 MB / 280.3 MB, free: 9.195 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.411225794930942]