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.0009213/0.0009213, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009795/0.0009795, allocations: 165.3 kB / 24.91 MB, free: 9.184 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.059/1.059, allocations: 177 MB / 205.2 MB, free: 5.434 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 8.72e-07/8.72e-07, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.656e-06/9.528e-06, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001847/0.001857, allocations: 1.694 MB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005338/0.002391, allocations: 0.4907 MB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.00243, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.002451, allocations: 11.88 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.002493, allocations: 11.81 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.016e-05/0.002573, allocations: 27.95 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.002665, allocations: 63.72 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.002774, allocations: 36.19 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.002877, allocations: 47.84 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.002918, allocations: 19.91 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002933, allocations: 8 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.002981, allocations: 15.98 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.002993, allocations: 7.938 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.003014, allocations: 19.92 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.003121, allocations: 63.73 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003123, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003123, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003127, allocations: 0 / 275.9 MB, free: 14.64 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.0002825/0.00341, allocations: 288.6 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003442, allocations: 12.03 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.23e-05/0.003534, allocations: 16.92 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.003647, allocations: 117.7 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.003661, allocations: 8.375 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.003668, allocations: 4.375 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.00378, allocations: 111.1 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003786, allocations: 192 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003794, allocations: 4.375 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0038, allocations: 3.938 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/0.003831, allocations: 23.92 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.004132, allocations: 0.5124 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.004199, allocations: 97.02 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.004232, allocations: 44.34 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.004241, allocations: 3.984 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.004258, allocations: 42.5 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.004259, allocations: 0 / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.00015/0.004409, allocations: 73.55 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.004459, allocations: 162.2 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.004522, allocations: 114.7 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.004533, allocations: 29.7 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.00457, allocations: 96.06 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.00459, allocations: 19.8 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.004619, allocations: 25.69 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.004748, allocations: 319.5 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.00476, allocations: 11.98 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.004782, allocations: 28.3 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.004828, allocations: 56.2 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00483, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.175e-05/0.004891, allocations: 65.64 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.004903, allocations: 8 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.004906, allocations: 0 / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.004919, allocations: 4 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.004969, allocations: 8 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.004974, allocations: 3.938 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.005, allocations: 7.984 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.005005, allocations: 8 kB / 278.2 MB, free: 12.05 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 5.625e-05/0.005062, allocations: 109.8 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.005113, allocations: 7.938 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.005133, allocations: 19.61 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005134, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.005137, allocations: 4 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.00514, allocations: 0 / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.005316, allocations: 81.88 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005317, allocations: 3.938 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.005341, allocations: 15.98 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005342, allocations: 7.875 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005346, allocations: 0 / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.005349, allocations: 4 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00535, allocations: 0 / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.005491, allocations: 452.7 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.005506, allocations: 15.88 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005516, allocations: 12.06 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.005621, allocations: 8 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.005649, allocations: 11.98 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.005652, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.005668, allocations: 21.28 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005668, allocations: 0 / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.005871, allocations: 16 kB / 279 MB, free: 11.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 5.762e-05/0.005928, allocations: 76.42 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.51e-05/0.005993, allocations: 36.78 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005995, allocations: 3.938 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.006015, allocations: 16.84 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.006289, allocations: 12.25 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.006683, allocations: 208.9 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.006729, allocations: 63.34 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.006747, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.006784, allocations: 51.38 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006785, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Templates: time 0.001836/0.008621, allocations: 0.5253 MB / 280 MB, free: 10.18 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 -s gbode -gbm=radauIIA3 -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.764168422203511]