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.001047/0.001047, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009715/0.0009715, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.645 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.222e-06/1.222e-06, allocations: 0 / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.716e-05, allocations: 2.312 kB / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002635/0.002662, allocations: 1.664 MB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.003431, allocations: 490.5 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.003501, allocations: 4 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.003538, allocations: 7.922 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.00362, allocations: 19.81 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.003825, allocations: 27.95 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.003948, allocations: 59.78 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.004105, allocations: 36.14 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.004251, allocations: 43.89 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.004304, allocations: 19.92 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.004321, allocations: 4 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.004364, allocations: 11.98 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.004379, allocations: 15.92 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.004402, allocations: 15.94 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.004543, allocations: 67.67 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004545, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004546, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.004551, allocations: 0 / 275.4 MB, free: 15.09 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.0003864/0.004937, allocations: 408.3 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004973, allocations: 8.031 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.005098, allocations: 24.88 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.005242, allocations: 128.5 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.005266, allocations: 4.375 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005278, allocations: 4.375 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.005447, allocations: 133.3 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005457, allocations: 192 / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.005467, allocations: 4.312 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.005476, allocations: 7.938 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.005527, allocations: 23.92 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.006006, allocations: 0.8039 MB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.006115, allocations: 143.4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.006164, allocations: 58.55 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.00618, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.006204, allocations: 41.33 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006205, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002124/0.006418, allocations: 77.52 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.006472, allocations: 162.2 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.006557, allocations: 177.9 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006568, allocations: 26.33 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.006628, allocations: 154.8 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.006649, allocations: 15.84 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.006683, allocations: 27.38 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.006808, allocations: 0.4922 MB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.006828, allocations: 0 / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.006868, allocations: 58.42 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.574e-05/0.006934, allocations: 58.38 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006936, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.873e-05/0.007035, allocations: 73.52 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.00705, allocations: 10.5 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.007055, allocations: 0 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.00707, allocations: 0 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.007144, allocations: 11.98 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.007151, allocations: 4 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.007184, allocations: 8.109 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.007191, allocations: 8 kB / 278.5 MB, free: 11.59 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.306e-05/0.007274, allocations: 168.4 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.007329, allocations: 8 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.007357, allocations: 15.55 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.007361, allocations: 4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007365, allocations: 0 / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007369, allocations: 4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.007593, allocations: 140.5 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007596, allocations: 0 / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.007629, allocations: 8 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.007632, allocations: 8 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.007642, allocations: 7.984 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007644, allocations: 3.938 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007646, allocations: 4 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.007923, allocations: 0.6686 MB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.007934, allocations: 3.953 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.007946, allocations: 4 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.008056, allocations: 7.984 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.008108, allocations: 16.11 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.008119, allocations: 12 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.008176, allocations: 135.6 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008176, allocations: 0 / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.008424, allocations: 11.94 kB / 279.8 MB, free: 10.3 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.708e-05/0.008511, allocations: 99.23 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.008619, allocations: 43.55 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00862, allocations: 0 / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.008651, allocations: 24.19 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.008989, allocations: 12.06 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.009517, allocations: 217.2 kB / 280.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.746e-05/0.009574, allocations: 63.34 kB / 280.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.009596, allocations: 0 / 280.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.009626, allocations: 12.5 kB / 280.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.009627, allocations: 4 kB / 280.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of Templates: time 0.00225/0.01188, allocations: 0.5497 MB / 280.8 MB, free: 9.203 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: 3.0831532343290746]