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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 54.22 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 50.55 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003362/0.1358, allocations: 1.604 MB / 359.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.1367, allocations: 0.4908 MB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.1368, allocations: 0 / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.1368, allocations: 11.86 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.1369, allocations: 11.88 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1371, allocations: 31.95 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1373, allocations: 59.78 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.1375, allocations: 52.12 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1376, allocations: 39.84 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.1377, allocations: 31.84 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1377, allocations: 4 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.425e-05/0.1378, allocations: 11.94 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.1378, allocations: 12 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1378, allocations: 27.8 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.138, allocations: 76 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.138, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.138, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.138, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 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.0005562/0.1386, allocations: 395.1 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1386, allocations: 8.031 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1388, allocations: 12.84 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.139, allocations: 188.2 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.139, allocations: 8.312 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1391, allocations: 8.375 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1393, allocations: 114.3 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1393, allocations: 4 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1393, allocations: 0 / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1394, allocations: 4 kB / 360.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1395, allocations: 55.83 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.1403, allocations: 0.6381 MB / 361.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1405, allocations: 116.9 kB / 361.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1406, allocations: 64.41 kB / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1406, allocations: 3.984 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1406, allocations: 34.56 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1407, allocations: 4 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004547/0.1411, allocations: 129.3 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1412, allocations: 162.2 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1414, allocations: 121.8 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1414, allocations: 25.7 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1415, allocations: 104.5 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1415, allocations: 15.81 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1415, allocations: 25.7 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1417, allocations: 314.8 kB / 362.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.1418, allocations: 19.98 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1419, allocations: 52.27 kB / 362.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1421, allocations: 80.2 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1421, allocations: 0 / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.1423, allocations: 101.4 kB / 362.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1423, allocations: 8 kB / 362.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1423, allocations: 0 / 362.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1424, allocations: 0 / 362.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.1425, allocations: 15.98 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1425, allocations: 3.938 kB / 362.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1426, allocations: 16.08 kB / 362.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1426, allocations: 8 kB / 362.8 MB, free: 8.402 MB / 302.1 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 9.421e-05/0.1427, allocations: 117.8 kB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.1428, allocations: 7.906 kB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1428, allocations: 15.48 kB / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1428, allocations: 0 / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1428, allocations: 7.984 kB / 362.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1428, allocations: 3.938 kB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1432, allocations: 185.6 kB / 363.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1432, allocations: 4 kB / 363.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.1433, allocations: 12 kB / 363.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1433, allocations: 3.984 kB / 363.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1434, allocations: 8.125 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1434, allocations: 3.938 kB / 363.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1434, allocations: 0 / 363.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.1438, allocations: 496.5 kB / 363.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.1438, allocations: 77.11 kB / 363.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1439, allocations: 8 kB / 363.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1441, allocations: 7.984 kB / 363.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1441, allocations: 15.88 kB / 363.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1441, allocations: 4 kB / 363.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.1442, allocations: 107.5 kB / 363.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1442, allocations: 0 / 363.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1446, allocations: 11.91 kB / 363.9 MB, free: 7.23 MB / 302.1 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.0001231/0.1447, allocations: 103.2 kB / 364 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.145, allocations: 60.03 kB / 364 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.145, allocations: 4 kB / 364 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1451, allocations: 35.91 kB / 364.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1456, allocations: 4 kB / 364.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1461, allocations: 195.1 kB / 364.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1465, allocations: 0.6924 MB / 365 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.1465, allocations: 4 kB / 365 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1465, allocations: 11.44 kB / 365 MB, free: 6.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1465, allocations: 0 / 365 MB, free: 6.059 MB / 302.1 MB Notification: Performance of Templates: time 0.003076/0.1496, allocations: 0.553 MB / 365.5 MB, free: 5.512 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) 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) Reference file matches